9 These are the generations of Noah. Noah was a righteous man, blameless in his generation. Noah walked with God. 10 And Noah had three sons, Shem, Ham, and Japheth.
11 Now the earth was corrupt in God's sight, and the earth was filled with violence. 12 And God saw the earth, and behold, it was corrupt, for all flesh had corrupted their way on the earth. 13 And God said to Noah, “I have determined to make an end of all flesh, for the earth is filled with violence through them. Behold, I will destroy them with the earth. 14 Make yourself an ark of gopher wood. Make rooms in the ark, and cover it inside and out with pitch. 15 This is how you are to make it: the length of the ark 300 cubits, its breadth 50 cubits, and its height 30 cubits. 16 Make a roof for the ark, and finish it to a cubit above, and set the door of the ark in its side. Make it with lower, second, and third decks. 17 For behold, I will bring a flood of waters upon the earth to destroy all flesh in which is the breath of life under heaven. Everything that is on the earth shall die. 18 But I will establish my covenant with you, and you shall come into the ark, you, your sons, your wife, and your sons' wives with you. 19 And of every living thing of all flesh, you shall bring two of every sort into the ark to keep them alive with you. They shall be male and female. 20 Of the birds according to their kinds, and of the animals according to their kinds, of every creeping thing of the ground, according to its kind, two of every sort shall come in to you to keep them alive. 21 Also take with you every sort of food that is eaten, and store it up. It shall serve as food for you and for them.” 22 Noah did this; he did all that God commanded him.
7:1 Then the Lord said to Noah, “Go into the ark, you and all your household, for I have seen that you are righteous before me in this generation. 2 Take with you seven pairs of all clean animals, the male and his mate, and a pair of the animals that are not clean, the male and his mate, 3 and seven pairs of the birds of the heavens also, male and female, to keep their offspring alive on the face of all the earth. 4 For in seven days I will send rain on the earth forty days and forty nights, and every living thing that I have made I will blot out from the face of the ground.” 5 And Noah did all that the Lord had commanded him.
6 Noah was six hundred years old when the flood of waters came upon the earth. 7 And Noah and his sons and his wife and his sons' wives with him went into the ark to escape the waters of the flood. 8 Of clean animals, and of animals that are not clean, and of birds, and of everything that creeps on the ground, 9 two and two, male and female, went into the ark with Noah, as God had commanded Noah. 10 And after seven days the waters of the flood came upon the earth. (ESV)