Genesis 6:6-8

6 The LORD[3] regretted that He had made mankind on the earth, and He was [deeply] grieved in His heart.

7 So the LORD said, "I will destroy (annihilate) mankind whom I have created from the surface of the earth—not only man, but the animals and the crawling things and the birds of the air—because it [deeply] grieves Me [to see mankind's sin] and I regret that I have made them."

8 But Noah found favor and grace in the eyes of the LORD.