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. Noah had three sons: Shem, Ham and Japheth.

Now the earth was corrupt in God’s sight and was full of violence. God saw how corrupt the earth had become, for all the people on earth had corrupted their ways. 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. So make yourself an ark of cypress[a] wood; make rooms in it and coat it with pitch inside and out. This is how you are to build it: The ark is to be three hundred cubits long, fifty cubits wide and thirty cubits high.[b] Make a roof for it, leaving below the roof an opening one cubit[c] high all around.[d] Put a door in the side of the ark and make lower, middle and upper decks. I am going to bring floodwaters on the earth to destroy all life under the heavens, every creature that has 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—you and your sons and your wife and your sons’ wives with you.