Yup. There’s also an even older Sumerian myth of very similar content: Enlil (ancient mesopotamian god of air, earth, and storms) thought humans were too noisy and decided to destroy them all with a great flood; I guess he really needed some sleep. Luckily, Enki (god of water, knowledge, and creation) told one guy, probably a priest, Ziusudra, to build a boat big enough for his family and a breeding pair of every animal.
Sounds pretty familar, right? Couple of names changed compared to the one in Gilgamesh. And, other than having two gods in the story instead of one, it’s almost exactly the same as Noah and the Ark (of course, there is some compelling evidence that the old testament god in the bible was originally multiple older gods that over time got “absorbed” into one God, hence why he has so many different personalities depending on which story you are reading).
The peoples telling these stories lived relatively close together geographically, and the timing lines up with a period of glacial retreat, meaning flooding was more common due to ice melt, rising sea levels, and and changing weather patterns. Though it’s hard to say if they’re all talking about the same flood or simply using similar stories and motifs to talk about different floods. I tend to think it was just a flood-happy time in the region, and if an entire village ends up underwater i’d say it sure feels like “the whole world” flooded, especially if other peoples you come into contact with have similar stories of their own.
Leggo my prego?