In the Old Testament, Scapegoat is a goat symbolically burdened with the sins of the Jewish people. Some scholars believe that the animal was chosen by lot to placate Azazel, a wilderness demon, then thrown over a precipice outside Jerusalem to rid the nation of its iniquities. By extension, a scapegoat has come to mean any group or individual that innocently bears the blame of others.

The use of scapegoats has a long and varied history involving many kinds of animals, as well as human beings. In ancient Greece, human scapegoats (pharmakos) were used to mitigate a plague or other calamity or even to prevent such ills. The Athenians chose a man and woman for the festival of Thargelia. After being feasted, the couple was led around the town, beaten with green twigs, driven out of the city, and possibly even stoned. In this way the city was supposedly protected from ill fortune for another year.

During the Roman feast of Lupercalia, priests (Luperci) cut thongs from the sacrificial animals (goats and a dog), then raced around the walls of the old Palatine city, striking women (especially) as they passed with the thongs. A blow from the hide of the scapegoat was said to cure sterility. In early Roman law an innocent person was allowed to take upon himself the penalty of another who had confessed his own guilt. Christianity reflects this notion in its doctrine of justification and in its belief that Jesus Christ was the God-man who died to atone for the sins of all mankind.

More Info: www.britannica.com