People do tend to rationalize a situation to make themselves look like the victim and I've seen this in many cases. In a way, it justifies them not having to face responsibility so they can walk away with a clear conscience, even if they have to generalize and stereotype an entire group of people.