God observes that the earth is corrupted with violence and decides to destroy all life. But Noah "was a righteous man, blameless in his generation, [and] Noah walked with God," and God gives him instructions for the construction of an ark, into which he is told to bring "two of every sort [of animal]...male and female," and their food.
God instructs Noah to board the Ark with his family, seven pairs of the birds and the clean animals, and two pairs of the unclean animals. "On the same day all the fountains of the great deep were broken up, and the windows of heaven were opened, and the rain was upon the earth," and God closes up the door of the Ark. The flood begins, and the waters prevail until all the high mountains are covered fifteen cubits deep, and all the people and animals and creeping things and birds of the heavens are blotted out from the earth, and only Noah and those with him in the Ark remain.
Then "God remembered Noah," and causes his wind to blow, and the fountains of the deep and the windows of the heavens are closed, and the rain is restrained, and the waters abate. In the seventh month the Ark rests on the mountains of Ararat, and in the tenth month the tops of the mountains are seen. Noah sends out a raven and a dove to see if the waters have subsided; the raven flies "to and fro" and the dove returns with a fresh olive leaf in her beak. Noah waits seven days more and sends out the dove again, and this time it does not return.
"In the six hundred and first year, in the first month, the first day of the month, the waters were dried from off the earth, and Noah removed the covering of the ark and looked, and behold, the face of the ground was dry." God tells Noah to leave the ark, Noah offers a sacrifice to God, and God resolves never again to destroy the earth, "for the intention of man’s heart is evil from his youth." God grants to Noah and his sons the right to kill animals and eat their meat, but forbids meat which has not been drained of its blood. Blood is proclaimed sacred: "For your lifeblood I will require a reckoning: from every beast I will require it and from man...Whoever sheds the blood of man, by man shall his blood be shed, for God made man in his own image." Then God established his covenant with Noah and his sons and with all living things, and places the rainbow in the clouds, "the sign of the covenant that I have established between me and all flesh that is on the earth."