God cursing Ham is an allusion to a biblical story in Genesis 9 where Noah cursed his son Ham to forever be a servant to his brothers, making every person descended from Ham be scripturally
enslaved. Frederick Douglass uses this allusion to explain how since slaveholders justify slavery with this bible story, very soon this will not work because many slaves are being born to white fathers.