This is the line of Noah.--Noah was a righteous man; he was blameless in his age; Noah walked with God.--Noah begot three sons: Shem, Ham, and Japheth.
The earth became corrupt before God; the earth was filled with lawlessness. When God saw how corrupt the earth was, for all flesh had corrupted its ways on earth, God said to Noah, "I have decided to put an end to all flesh, for the earth is filled with lawlessness because of them: I am about to destroy them with the earth. Make yourself an ark of gopher wood; make it an ark with compartments, and cover it inside and out with pitch. This is how you shall make it: the length of the ark shall be three hundred cubits, its width fifty cubits, and its height thirty cubits. Make an opening for daylight in the ark, and terminate it within a cubit of the top. Put the entrance to the ark in its side; make it with bottom, second, and third decks.
"For My part, I am about to bring the Flood--waters upon the earth--to destroy all flesh under the sky in which there is breath of life; everything on earth shall perish. But I will establish My covenant with you, and you shall enter the ark, with your sons, your wife, and your sons' wives. And of all that lives, of all flesh, you shall take two of each into the ark to keep alive with you; they shall be male and female. From birds of every kind, cattle of every kind, every kind of creeping thing on earth, two of each shall come to you to stay alive. For your part, take of everything that is eaten and store it away, to serve as food for you and for them." Noah did so; just as God commanded him, so he did.