Genesis is just Gilgamesh, face it.
It's the written form of the Judaic branch of the Sumerian story passed down from the flood plains of Tigris-Euphrates.
The Hebrews before they could be called such, crossing the northern mountain ranges out of the land of Sumer, carried with them the oral traditions
that would later become Gilgamesh and Genesis.
Has nothing to do with Moses being taught history, which he most certainly was not, as there was barely such a thing as history at that time, mostly
myth (especially for those in egypt not involved as a priest or such). Stories told for the hell of it to explain why things are.
And mikromarius, also, Genesis does not explain the creation of the heaven and earth as by one god..but as by many as it says "We shall create them
in our image".
This is again, from the sumerian traditions, and the fact that even in the time of Solomon all the way up to Jesus, the Jewish society was
henotheistic, and worshipped just one Supreme God, of their many gods...
And Valhall, finally somewhere where I'm plainly just more right than you are.
The Sumerian society is over 1000 years older than the Jewish, as well as Gilgamesh which was written at least 500 years before Genesis began to be
written down.
It can be argued that Genesis and Gilgamesh, coming from the exact same origin is actually the same age, but only if one would agree neither is older
than the other.
I'd probably follow the latter, as the peoples follow the same lineage, just moved to different localities, and the Hebrews placed an emphasis on
worshiping one God greater than all other Gods, rather than paying much heed to the others.
And so the stories began to differ, and of course Sumer society ends in a literal "wind of death" (that was their last record of their time line,
then their civilization abruptly ends

), while Hebrew society endured and so from genesis comes the whole rest of the Bible. Completed around 116AD