The students who had rejected obviously sexist or racist statements felt they had established their moral credentials. They had proven to themselves that they were not sexist or racist, but this left them vulnerable to what psychologists call moral licensing. When you do something good, you feel good about yourself. This means you’re more likely to trust your impulses—which often means giving yourself permission to do something bad.