Then God blessed Noah and his sons and said to them, "Have many children; grow in number and fill the earth.
Every animal on earth, every bird in the sky, every animal that crawls on the ground, and every fish in the sea will respect and fear you. I have given them to you.
"Everything that moves, everything that is alive, is yours for food. Earlier I gave you the green plants, but now I give you everything for food.
But you must not eat meat that still has blood in it, because blood gives life.
I will demand blood for life. I will demand the life of any animal that kills a person, and I will demand the life of anyone who takes another person's life.
"Whoever kills a human being will be killed by a human being, because God made humans in his own image.
"As for you, Noah, I want you and your family to have many children, to grow in number on the earth, and to become many."
Then God said to Noah and his sons,
"Now I am making my agreement with you and your people who will live after you,
and with every living thing that is with you -- the birds, the tame and the wild animals, and with everything that came out of the boat with you -- with every living thing on earth.
I make this agreement with you: I will never again destroy all living things by a flood. A flood will never again destroy the earth."
And God said, "This is the sign of the agreement between me and you and every living creature that is with you.
I am putting my rainbow in the clouds as the sign of the agreement between me and the earth.
When I bring clouds over the earth and a rainbow appears in them,
I will remember my agreement between me and you and every living thing. Floods will never again destroy all life on the earth.
When the rainbow appears in the clouds, I will see it and I will remember the agreement that continues forever between me and every living thing on the earth."
So God said to Noah, "The rainbow is a sign of the agreement that I made with all living things on earth.
The sons of Noah who came out of the boat with him were Shem, Ham, and Japheth. (Ham was the father of Canaan.)
These three men were Noah's sons, and all the people on earth came from these three sons.
Noah became a farmer and planted a vineyard.
When he drank wine made from his grapes, he became drunk and lay naked in his tent.
Ham, the father of Canaan, looked at his naked father and told his brothers outside.
Then Shem and Japheth got a coat and, carrying it on both their shoulders, they walked backwards into the tent and covered their father. They turned their faces away so that they did not see their father's nakedness.
Noah was sleeping because of the wine. When he woke up and learned what his youngest son, Ham, had done to him,
he said, "May there be a curse on Canaan! May he be the lowest slave to his brothers."
Noah also said, "May the Lord, the God of Shem, be praised! May Canaan be Shem's slave.
May God give more land to Japheth. May Japheth live in Shem's tents, and may Canaan be their slave."
After the flood Noah lived 350 years.
He lived a total of 950 years, and then he died.