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