The curse of Ham is used to jsutify hated of black people. Muslims trace their lineage back to Ishmael. PLease get your bigotry straight.
It was a joke. The bit about Joshua was not, however.