Racism springs from the lie that certain human beings are less than fully human. It's a self-centered falsehood that corrupts our minds into believing we are right to treat others as we would not want to be treated.
It doesn't make sense to have to do the wrong thing in order to do the right thing.