But in the real world, the defense mechanisms are a little more elaborate. For another example of a defense , let's look at "projection," and we are all familiar with this.
1) The angry person accuses someone else being angry
2) A liar accuses others of lying
3) The cheater accuses others of cheating
4) The thief accuses others of stealing (Notice how the thief is not accusing others of lying? No he's obsessed with only his own sins.)
Projection is not just a Freudian defense mechanism, it a powerful tool for justifying aggression. The junkie, the borderline personality, and other people that have regressed to a primitive and chaotic level level will project accusations like a firehose, and the increasingly wild nature of the accusations will reflect the decay of their mental condition. The cognitive dissonance in the head is reflected by the increasingly contradictory and mutually exclusive accusations they hurl.
http://www.dailykos.com/story/2013/5/12/1187645/-Psychology-Of-Hatred-Part-II-Projection-Projective-Identification