The story of Noah may be part of the Abrahamic canon, but the legend of the Great Flood almost certainly has prebiblical origins, rooted in the ancient civilizations of Mesopotamia. The Sumerian Epic of Gilgamesh dates back nearly 5,000 years and is thought to be perhaps the oldest written tale on the planet. In it, there is an account of the great sage Utnapishtim, who is warned of an imminent flood to be unleashed by wrathful gods. He builds a vast circular-shaped boat, reinforced with tar and pitch, that carries his relatives, grains and animals. After enduring days of storms, Utnapishtim, like Noah in Genesis, releases a bird in search of dry land.
https://time.com/44631/noah-christians-flood-aronofsky/