Psychological projection

Psychological projection is a so-called defense mechanism in which a person attributes to others his or her own undesirable thoughts, beliefs, intentions or feelings. The result is often blatant hypocrisy, but the concept is more subtle than simply hiding one's own faults while attacking those of others.