Ok, here’s what my old friend Wikipedia has to say:
Psychological projection is a defence mechanism in which the human ego defends itself against unconscious impulses or qualities (both positive and negative) by denying their existence in themselves while attributing them to others.
ScudMantels... ahem... sound like anyone you know? 🧐