The biblical story of Noah's Ark, found in the Book of Genesis, describes God sending a great flood to destroy all life on Earth except for Noah, his family, and the animals he brought on the Ark.
The reason given in the Bible for this drastic action is the pervasive wickedness and corruption of humanity. Genesis 6:5 states, "The Lord saw how great the wickedness of the human race had become on the earth, and that every inclination of the thoughts of their hearts was only evil all the time."
Essentially, God was depicted as being deeply grieved and disappointed by the moral depravity of humanity. He saw it as so severe and unredeemable that He chose to cleanse the world and start anew with Noah and his family, who were portrayed as righteous in God's eyes.
It's important to note that this story is interpreted in various ways by different religious groups and individuals. Some view it as a literal historical account, while others see it as a symbolic or allegorical narrative about the consequences of sin and the potential for renewal. Regardless of interpretation, the story raises complex questions about divine judgment, justice, and the relationship between God and humanity.