Gen 6:5-14, 22, 7:11-12 (NIV)

5 The Lord saw how great the wickedness of the human race had become on the earth, and that every inclination of the thoughts of the human heart was only evil all the time.6 The Lord regretted that he had made human beings on the earth, and his heart was deeply troubled.7 So the Lord said, “I will wipe from the face of the earth the human race I have created—and with them the animals, the birds and the creatures that move along the ground—for I regret that I have made them.” 8 But Noah found favor in the eyes of the Lord.

Noah and the Flood
9 This is the account of Noah and his family.

Noah was a righteous man, blameless among the people of his time, and he walked faithfully with God. 10 Noah had three sons: Shem, Ham and Japheth.
11 Now the earth was corrupt in God’s sight and was full of violence. 12 God saw how corrupt the earth had become, for all the people on earth had corrupted their ways. 13 So God said to Noah, “I am going to put an end to all people, for the earth is filled with violence because of them. I am surely going to destroy both them and the earth. 14 So make yourself an ark of cypress wood; make rooms in it and coat it with pitch inside and out.


7:11 In the six hundredth year of Noah’s life, on the seventeenth day of the second month—on that day all the springs of the great deep burst forth, and the floodgates of the heavens were opened. 12 And rain fell on the earth forty days and forty nights.