In Genesis, Ham was the son of Noah who was the father of Canaan.
Genesis 9:18 identifies Ham as the father of Canaan after the Flood narrative. Noah’s three sons are Shem, Ham, and Japheth, and the text connects each family line with later peoples and territories. Canaan is specifically associated with Ham in the genealogy.
The detail appears in the episode following Noah’s drunkenness, when Ham sees his father uncovered and Shem and Japheth act differently. Noah’s subsequent pronouncement mentions Canaan, which has generated extensive interpretation in Jewish, Christian, and historical writing.
This story is sometimes confused with the identities of Noah’s other sons or with later genealogies. Shem is associated with several peoples traditionally linked to the Semitic world, while Japheth is connected in biblical genealogical traditions with other groups. For this question, the direct Genesis relationship is Ham as Canaan’s father.