Genesis 9:18-10:1 (NKJV)
Now the sons of Noah who went out of the ark were Shem, Ham, and Japheth. And Ham was the father of Canaan. These three were the sons of Noah, and from these the whole earth was populated. And Noah began to be a farmer, and he planted a vineyard. Then he drank of the wine and was drunk, and became uncovered in his tent. And Ham, the father of Canaan, saw the nakedness of his father, and told his two brothers outside. But Shem and Japheth took a garment, laid it on both their shoulders, and went backward and covered the nakedness of their father. Their faces were turned away, and they did not see their father’s nakedness. So Noah awoke from his wine, and knew what his younger son had done to him. Then he said: “Cursed be Canaan; a servant of servants he shall be to his brethren.” And he said: “Blessed be the LORD, the God of Shem, and may Canaan be his servant. May God enlarge Japheth, and may he dwell in the tents of Shem; and may Canaan be his servant.” And Noah lived after the flood three hundred and fifty years. So all the days of Noah were nine hundred and fifty years; and he died. Now this is the genealogy of the sons of Noah: Shem, Ham, and Japheth. And sons were born to them after the flood.