It curses Canaan; he's a son of Ham, and Ham is a son of Noah (Noah's ark).
Religious scholars generally agree that Ham is the father of the African race, or Black people. White supremacists acting as religious leaders and scholars flipped the curse of Canaan to justify the war on Africans, and our enslavement. They told us the curse was instead on Ham and we as his descendants are currently living out the prophetic curse

. Many of our ancestors believed it and passed it down, some found ways of preserving what they could...
One tactic of white supremacy is to use Black culture against itself; in this case it was our spirituality in the form of their Bible.
"long read :
18 ¶ Now the sons of Noah who came out of the ark were Shem and Ham and Japheth; and Ham was the father of Canaan.
19 These three were the sons of Noah, and from these the whole earth was populated.
20 Then Noah began farming and planted a vineyard.
21 He drank of the wine and became drunk, and uncovered himself inside his tent.
22 Ham, the father of Canaan, saw the nakedness of his father, and told his two brothers outside.
23 But Shem and Japheth took a garment and laid it upon both their shoulders and walked backward and covered the nakedness of their father; and their faces were turned away, so that they did not see their father's nakedness.
24 ¶ When Noah awoke from his wine, he knew what his youngest son had done to him.
25 So he said, "Cursed be Canaan; A servant of servants He shall be to his brothers."
26 He also said, "Blessed be the LORD, The God of Shem; And let Canaan be his servant.
27 "May God enlarge Japheth, And let him dwell in the tents of Shem; And let Canaan be his servant."
28 ¶ Noah lived three hundred and fifty years after the flood.
29 So all the days of Noah were nine hundred and fifty years, and he died.
Here is what we know from the text. Ham saw his father's nakedness during the drunken stupor (verse 22). I believe that this is a clear indication of some type of unseemly behavior. It was no accidental glance. The Hebrew implies that he gazed with satisfaction. He then tells his brothers what he had seen. This then is a case of gross disrespect for a parent, and perhaps more, the text does not tell us. Notice verse 22 says "Ham, the father of Canaan", – Moses is careful to point out that Him was the father of Canaan. The Canaanites were notorious in the ancient world for their sexual proclivities.
Shem and Japheth show the proper respect for their father. Their actions stand in stark contrast to that of Ham. They carried a garment on their shoulders and walked backwards into the room so that they would not see what Ham had reported. I believe that their actions were also designed to serve as a rebuke to Ham.
When Noah awoke from his stupor, he knew what Ham, his younger son had done. How did he know? The text does not tell us.
Before patriarchs died they uttered inspired predictions concerning their sons. Negative predictions are couched in the form of a curse; positive predictions take the form of blessings. Why Noah omits Ham from these prophetic utterances is not clear. Perhaps it was because he had already died. The patriarchal utterances of Noah may not have followed immediately upon the drunkenness incident. Noah lived 350 years after the Flood (verse 28). The mention of his death immediately following the predictions suggests that these utterances may have been made just before Noah's death. Ham may have died during those 350 years between the Flood and the final days of Noah. In any case, in his prophetic pronouncement Noah spoke three times concerning Canaan, twice concerning Shem and once concerning Japheth.
The question is, what is this curse? Canaan the son of Ham was cursed. A curse in the Bible is simply a negative prophecy pertaining to temporal life. Canaan was to be "A servant of servants He shall be to his brothers" (verse 25). This means that he was to be the lowliest of servants. The descendants of Canaan (Canaanites) would be servants first to their own brethren, the Hamites (verse 25), then to the Shemites (verse 26), and finally to the Japhethites (verse 27). We know from Bible history that the Egyptians were Hamites, the "brethren" of Canaan. They subjugated Canaan in the 15 century B.C.. When we read Genesis chapter ten we learn that the Assyrians and babylonians were Hamitic peoples. They dominated Canaan from the 8th to the 6th centuries B.C.. When the Shemitic Israelites invaded Canaan in the 14th century the second part of the prediction was fulfilled. During the conquests of Alexander the Great Canaan fell under the domination of the Japhethites. What we must understand is that the prophecies of Noah are a capsule of ancient history.
The curse on Canaan had nothing to do with the origin of the black race as some have contended. Ham had three sons besides Canaan. Cush was the father of the Ethiopians, Mizraim of the Egyptians, Phut of the Libyans and the peoples of Africa (see Genesis chapter 10). The curse placed on Canaan has to do only with Canaanites, a people who manifested none of the racial characteristics of the black race. The skin texture of Israelites and Canaanites at the time of Joshua's invasion was probably very similar. The problem concerning the Canaanites was not in the color of their skin but rather in the condition of their hearts.
The only question that remains is why the curse on Canaan? Some think that he was involved with his father in a carnal act against Noah. The text does not tell us. Others have suggested that since the sin was committed by Ham, Noah's youngest son, the curse is placed on Canaan, the youngest son of Ham. Canaan certainly was not being punished for the sin of his father. This "curse" must be considered as an "announcement" that the descendants of Canaan would manifest the same propensity for immorality as their ancestor Ham. The Canaanites would then be justly punished for their gross sin by being enslaved by one nation after another. This is exactly what the Bible reveals.
Remember that Canaan was not the progenitor of the Black race. Therefore the curse had nothing to do with skin color. This completely destroys the argument proffered by the bigots of this world