Then Yehovah saw that the wickedness of man was great on the earth, and that every intent of the thoughts of his heart was only evil continually. Yehovah was sorry that He had made man on the earth, and He was grieved in His heart. Yehovah said, “I will blot out man whom I have created from the face of the land, from man to animals to creeping things and to birds of the sky; for I am sorry that I have made them.” But Noah found favor in the eyes of Yehovah.
Genesis 9:8, 9, 13
Then God spoke to Noah and to his sons with him, saying, “Now behold, I Myself do establish My covenant with you, and with your descendants after you; I set My bow in the cloud, and it shall be for a sign of a covenant between Me and the earth.”
“Thus I will establish My covenant with you, and you shall know that I am Yehovah, so that you may remember and be ashamed and never open your mouth anymore because of your humiliation, when I have forgiven you for all that you have done,” the Lord Yehovah declares.
Then I saw a great white throne and Him who sat upon it, from whose presence earth and heaven fled away, and no place was found for them. And I saw the dead, the great and the small, standing before the throne, and books were opened; and another book was opened, which is the book of life; and the dead were judged from the things which were written in the books, according to their deeds.