Yep, I was gonna say the same. I don't remember if it was the flood/ark or the tower of babel (both in Chapter Noah, at least in the Penteteuch), but one or both go back to babylonian pagan mythology, and possibly even further back.
The flood and ark stories are told by a character in Gilgamesh.
The flood and ark stories are told by a character in Gilgamesh.