In the Epic of Atrahasis and Epic of Gilgamesh flood myth, the gods are rash, foolish, even weak.
Genesis copies most of the myth. And although it's sanitized quite a bit, some actions seem to be inconsistent with an all-knowing, all-powerful, all-good God. God decides one moment that all animals must be killed 6:7, and the next that Noah must save them all himself 6:19–20. All humanity is evil and must be purged, except for Noah, but Noah is punished with spending the better part of a year on a tiny boat filled with polar bears. At the end God promises never to try the scheme again 8:21, apparently one step from an outright apology.
What higher narrative purpose does this myth fulfill, that it's included in the Bible despite its extremely subversive origins and troublesome implications?
