Doesn't the Bible story of Noah say that everyone on Earth was killed, aside from Noah's family?
I'm pretty sure it does. The Gilgamesh and the Atrahasis ( 500 years older than Gilgamesh) flood stories do too. But, we also know that men were writing these stories, not god.