When Noah woke up from his drunken stupor, he learned what Ham, his youngest son, had done.
Then he cursed the descendants of Canaan, the son of Ham: "A curse on the Canaanites! May they be the lowest of servants to the descendants of Shem and Japheth."
Then Noah said, "May Shem be blessed by the LORD my God; and may Canaan be his servant.
May God enlarge the territory of Japheth, and may he share the prosperity of Shem; and let Canaan be his servant."
References for Genesis 9:27
Noah lived another 350 years after the Flood.
He was 950 years old when he died.