Racism and misogyny cause people to vote against their best interests.