In the biblical narrative of Noah’s Ark and the Flood, detailed in Genesis chapters 6 through 9, God decides to cleanse the earth of its pervasive wickedness by sending a catastrophic flood, sparing only Noah, a righteous man, his family, and representative animal species who survive in a divinely instructed ark, leading to a renewed covenant symbolized by a rainbow.