Suppose, during Old Testament times, a young writer went to an experienced one and asked, “Master, how can I get my writing into the Bible?” The older man would have said, “Look kid, first you set the stage by having your characters get themselves into a terrible and dangerous mess. Then, have your god sweep in and save them. Write that way and you’re in.”
The mythelogical march of the Jews out of Eygpt is a good example. They walk to the beach and are trapped, the Eygption army is about to slaughter them. God opens the sea, they escape and the entire Eygption army is drownd.
Then, all 600,000 troops are in the desert, plus with women and children, with nothing to eat. It’s God again, he rains down loaves of bread everyday so they are fine.
It didn’t matter to the writer that things didn’t add up. The clan of Jacob had entered Egypt only four generations earlier. There were 70 people in the clan. In just four generations, these 70 had multiplied into the Bible’s 600,000 troops plus women and children, about two million people.
And, there was a problem with the entire Eygption army being destroyed. Egypt would have been quickly conquered by it neighbors had that actually happened. Instead, Eygpt conquered other nations itself in the years that followed.
There is no hint in written records of those times nor archeological remains of the story about Moses leading the Jews out of Egypt. What does remain are tall tales, obviously written by humans.