The sons of Noah who came out of the ark were Shem, Ham and Japheth. (Ham was the father of Canaan.)
References for Genesis 9:18
These were the three sons of Noah, and from them came the people who were scattered over the whole earth.
References for Genesis 9:19
Noah, a man of the soil, proceeded to plant a vineyard.
References for Genesis 9:20
When he drank some of its wine, he became drunk and lay uncovered inside his tent.
References for Genesis 9:21
Ham, the father of Canaan, saw his father naked and told his two brothers outside.
References for Genesis 9:22
But Shem and Japheth took a garment and laid it across their shoulders; then they walked in backward and covered their father’s naked body. Their faces were turned the other way so that they would not see their father naked.
When Noah awoke from his wine and found out what his youngest son had done to him,
he said, “Cursed be Canaan! The lowest of slaves will he be to his brothers.”
References for Genesis 9:25
He also said, “Praise be to the LORD, the God of Shem! May Canaan be the slave of Shem.
References for Genesis 9:26
May God extend Japheth’s territory; may Japheth live in the tents of Shem, and may Canaan be the slave of Japheth.”
References for Genesis 9:27