Understanding Scapegoating.

This is another subject clients consult us about and we have had the experience and ability to help them.
The ego defence of displacement plays a role in scapegoating, in which uncomfortable feelings such as anger frustration envy and guilt are displaced and projected onto another, often the more vulnerable, person or group. The scapegoated target is then persecuted, providing the person doing the scapegoating not only with a conduit for his uncomfortable feelings, but also with pleasurable feelings of piety and self-righteous indignation. The creation of a villain necessarily implies that of a hero, even if both are purely fictional.
Some would say that Satan the Devil was used as a Scapegoat for sins and interestingly they also depict his image as half man half goat.
Read more here
Psychology Today.
.