Sumerian writings were the originators of Mythology and wrote the stories found in the bible Genesis fairy tales. CUNEIFORM clay tablets from 4000 BC were mostly for accounting and sales records. But some stories were written for entertainment just as we have today. Some books are for fact and some are for entertainment.
The Christian bibles intent then and now was to “factualize” mythological story into a religion, religious belief and religiosity dogma. This was simply an outlandish ruse on the people and punctuated with persecution and murder of anyone that did not capitulate and believe in the bible mythological stories. The “bended knee” philosophy through fear continues to this day.
The earliest record of the Sumerian creation myth and flood myth is found on a single fragmentary tablet excavated in Nippur, sometimes called the Eridu Genesis. It is written in the Sumerian language and datable by its script to 2150 BC, during the first Babylonian dynasty, where the language of writing and administration was still Sumerian. Other Sumerian creation myths from around this date are called the Barton Cylinder.