I think you're referring to the curse of Canaan. Ham was the son of Noah who saw him passed out naked and made fun of his manhood or he had sex with his mother (there's some debate over what exactly happened) so Noah cursed Ham's youngest son Canaan because of it. Genesis 9:25 "And he said, Cursed be Canaan; a servant of servants shall he be unto his brethren."
There have been some early Jewish and Christian interpretations of this as meaning Africans are descendants of Canaan and they were made to be everyone's slaves.
I think you're referring to the curse of Canaan. Ham was the son of Noah who saw him passed out naked and made fun of his manhood or he had sex with his mother (there's some debate over what exactly happened) so Noah cursed Ham's youngest son Canaan because of it. Genesis 9:25 "And he said, Cursed be Canaan; a servant of servants shall he be unto his brethren."
There have been some early Jewish and Christian interpretations of this as meaning Africans are descendants of Canaan and they were made to be everyone's slaves.
That sounds a lot like what I had on my mind, thanks.