Similar controversies erupted over the stories of Osiris (c. 25th century BC).
By the 10th century BC, almost all of the story themes that we ascribe to more modern authorship had already been written.
IIRC the current scholarly consensus is that the shared parts represent two surviving variants of an even earlier story that was widely told across cultures in that region.
For example, compare the following passages, describing how Noah / Utnapishtim let out birds to search for dry land, after their boats get grounded on a tall mountain.
Genesis 8:6-12:
After forty days Noah opened a window he had made in the ark and sent out a raven, and it kept flying back and forth until the water had dried up from the earth. Then he sent out a dove to see if the water had receded from the surface of the ground. But the dove could find nowhere to perch because there was water over all the surface of the earth; so it returned to Noah in the ark. He reached out his hand and took the dove and brought it back to himself in the ark. He waited seven more days and again sent out the dove from the ark. When the dove returned to him in the evening, there in its beak was a freshly plucked olive leaf! Then Noah knew that the water had receded from the earth. He waited seven more days and sent the dove out again, but this time it did not return to him.
Epic of Gilgamesh:
> When the seventh day dawned I loosed a dove and let her go. She flew away, but finding no resting-place she returned. Then I loosed a swallow, and she flew away but finding no resting-place she returned. I loosed a raven, she saw that the waters had retreated, she ate, she flew around, she cawed, and she did not come back.
Historically, much of Genesis was likely written during the Babylonian exile. It's not surprising at all that the authors of Genesis borrowed a story that was extremely well known in Babylon.
That's very very unlikely, there's too much other stuff linked with it that is older than that. You might be able to claim that when it was set to paper, but there's no way Genesis itself is only from then.
According to Genesis Abraham lived at the time that Gilgamesh was recorded, with Noah living a little before then. It's quote possible Gilgamesh was written down from their stories, rather than the other way around. Genesis records how Abraham traveled widely telling his story, including to kings.
While it's commonly used as an explanation for the prevalence of flood myths throughout the world, I just don't buy it. That level of sea level rise just isn't going to come across as world-ending flood; it's going to be noticeable over time, but even sedentary cultures along the coastlines who are the most impacted by the rise are going to easily capable of dealing with it.
To me, the more parsimonious explanation is... it's just extending the metaphor of a flash flood. There's already a pretty consistent metaphor of ritual cleansing among multiple cultures. Flash floods are pretty common in many climates, and especially in an alluvial flood plain, the utter devastation of a major flood is readily apparent. Combine the two of them with a metaphorical story of the world being so wrong that everybody needs to be swept away and... why not use a flood to explain the destruction of the entire world? What other disaster would you choose instead?
We lack the collective self consciousness to see ourselves through the eyes of the people of other times, thinking through what it means to be understood through artifact, and the distortions it produces.
The closest we come is prophesying that future generations will blame us for the destruction of the natural world and climate of earth. That is a thin mask for our age's narcissistic fixation with producing myths of its own apocalyptic world-ending power.
The people of the future probably won't think of us as bad, evil doers, that destroyed the natural world for future generations with no care but for ourselves and our consumption, if they are anything like us, they will more likely think of us as having one hand digging for gold where the sun don't shine while the other stuffs hot, fresh cheeseburgers into mouth, unibrow freshly dripping with sweat.
My guess though is it's probably a plot device where the storyteller takes a known phenomenon and just exaggerates it to magical-mythical proportions, which may contribute to the story being repeated as it strikes the balance between the relatability of the real phenomenon and the attention-grabbing otherworldliness of its exaggerated version.
But the one that is most intriguing IMHO is the mediterranean sea event that happened but it is 6M years ago. Could ancestors of genus Homo have passed that story long for all that time even across speciation???
https://www.uu.nl/en/news/first-direct-proof-of-mega-flood-i...
I'm aware there is no direct archeological evidence of Abraham, except for Gilgamesh, so now you need to decide which direction the knowledge flowed.
Did he, though? There is archeological and contemporary written historical evidence of an actual Gilgamesh. Not so with Abraham.
The Abrahamic tradition was orally transmitted by a people who for generations lived in Babylonian captivity (1300 years after the earliest surviving copy of the Epic of Gilgamesh in Old Balylonian, with the earliest partial texts appearing 1600 years before), and was finally written down 3 generations after they left Babylon.
Few hundred years later they give him a magic sword and a round table. Same idea, but with other cultures, religions, etc.
And each ideology has a specific history of events, founders, and later elaborators that shape what these rituals and beliefs are.
Many ideologies reject deities or are at least ambivalent about them, but they're not really operationally different than religions.
So for as much as little bits of history linger in relgious rituals, both blurred and resharpened in later years, the same is absolutely true for ideologies.
The capitalism or feminism or humanism or atheism or whatever else you point to today is similar to the one sharing its name in the past, or in some other region, but is not the same, and these differences are all vestiges of little seed events that happened here or there.