Genesis 6:5-22 CSB
When the LORD saw that human wickedness was widespread on the earth and that every inclination of the human mind was nothing but evil all the time, the LORD regretted that he had made man on the earth, and he was deeply grieved. Then the LORD said, “I will wipe mankind, whom I created, off the face of the earth, together with the animals, creatures that crawl, and birds of the sky — for I regret that I made them.” Noah, however, found favor with the LORD.
These are the family records of Noah. Noah was a righteous man, blameless among his contemporaries; Noah walked with God. And Noah fathered three sons: Shem, Ham, and Japheth.
Now the earth was corrupt in God’s sight, and the earth was filled with wickedness. God saw how corrupt the earth was, for every creature had corrupted its way on the earth. Then God said to Noah, “I have decided to put an end to every creature, for the earth is filled with wickedness because of them; therefore I am going to destroy them along with the earth.
“Make yourself an ark of gopher wood. Make rooms in the ark, and cover it with pitch inside and outside. This is how you are to make it: The ark will be 450 feet long, 75 feet wide, and 45 feet high. You are to make a roof, finishing the sides of the ark to within eighteen inches of the roof. You are to put a door in the side of the ark. Make it with lower, middle, and upper decks.
“Understand that I am bringing a flood — floodwaters on the earth to destroy every creature under heaven with the breath of life in it. Everything on earth will perish. But I will establish my covenant with you, and you will enter the ark with your sons, your wife, and your sons’ wives. You are also to bring into the ark two of all the living creatures, male and female, to keep them alive with you. Two of everything — from the birds according to their kinds, from the livestock according to their kinds, and from the animals that crawl on the ground according to their kinds — will come to you so that you can keep them alive. Take with you every kind of food that is eaten; gather it as food for you and for them.” And Noah did this. He did everything that God had commanded him.
CSB: Christian Standard Bible