So, for example, with the Epic of Gilgamesh-- where the Babylonians borrowed from the Sumerian Gilgamesh poems and from the
Epic of Atrahasis flood narrative-- the five strongest gods decide to destroy humanity. But one of them (Ea) (Enki) tells Utnapishtim to survive it, by turning his house into a square box boat. “Should I warn people so other people can be saved?” “Nah. Tell them that Enlil has rejected you, and you’re going into exile.” So he loaded up his family and his livestock and some craftsmen and his gold and his silver. Six days, six nights, and a number of the other gods, who hadn’t been in on the secret plan, are very upset that all their people are being destroyed. On the seventh day, everything calmed down. He released a swallow, a dove, and a raven. Enlil’s mad that anyone survived. The gods fight among themselves as to whether this was done without permission, or whether it was disproportionate. Utnapishtim and his wife get turned into immortals, tra la la.
But why did Enlil want to destroy them in the first place? Because there were too many people. He tried sending drought, he tried sending famine. But there were too many people. What was the purpose of people being there in the first place? Because the gods didn’t want to do work, so they created humans to labor for them.
So, you can contrast that with the Biblical account. Why did God make people? Because he wanted to make creatures in his own image, and he saw they were good. Except as time passed, there were very few people who kept to righteousness, and corruption and violence filled the earth. So God instructed one of the righteous men to take certain steps, to save himself, his kinsmen, and the animals. Then there were forty days and forty nights of flooding, and all the other life perished. But at the end, God creates a covenant with Noah-- giving him dominion over the worth, instructing him to be fruitful and multiply, but don’t eat meat that still has lifeblood in it, and try not to kill people, m’kay?-- and promises he’ll never destroy earth by flooding it again.
Which story is more inspirational?