In the Bible, a scapegoat is one of a pair of kid goats that is released into the wilderness, taking with it all sins and impurities, while the other is sacrificed. The concept first appears in the Book of Leviticus, in which a goat is designated to be cast into the desert to carry away the sins of the community.
Then Aaron shall lay both his hands on the head of the live goat, and confess over it all the iniquities of the people of Israel, and all their transgressions, all their sins, putting them on the head of the goat, and sending it away into the wilderness by means of someone designated for the task. The goat shall bear on itself all their iniquities to a barren region; and the goat shall be set free in the wilderness.
Practices with some similarities to the scapegoat ritual also appear in Ancient Greece and Ebla.
Some scholars have argued that the scapegoat ritual can be traced back to Ebla around 2400 BC, from where it spread throughout the ancient Near East.  
The word "scapegoat" is an English translation of the Hebrew 'ăzāzêl (Hebrew : עזאזל), which occurs in Leviticus 16:8:
ונתן אהרן על שני השעירם גרלות גורל אחד ליהוה וגורל אחד לעזאזל And Aaron shall cast lots upon the two goats: one lot for the Lord, and the other lot for Azazel.— (JPS)
The Brown–Driver–Briggs Hebrew Lexicon  gives la-azazel (לעזאזל) as a reduplicative intensive of the stem ʕ-z-l, "remove", hence la-'ăzāzêl, "for entire removal". This reading is supported by the Greek Old Testament translation as "the sender away (of sins)". The lexicographer Gesenius takes azazel to mean "averter", which he theorized was the name of a deity, to be appeased with the sacrifice of the goat.  [ page needed ]
Alternatively, broadly contemporary with the Septuagint, the pseudepigraphical Book of Enoch may preserve Azazel as the name of a fallen angel.   
And Azazel taught men to make swords, and knives, and shields, and breastplates, and made known to them the metals of the earth and the art of working them, and bracelets, and ornaments, and the use of antimony, and the beautifying of the eyelids, and all kinds of costly stones, and all colouring tinctures.— Enoch 8:1, translation by R. H. Charles. Online.
Early English Christian Bible versions follow the translation of the Septuagint and Latin Vulgate, which interpret azazel as "the goat that departs" (Greek tragos apopompaios, "goat sent out", Latin caper emissarius, "emissary goat"). William Tyndale rendered the Latin as "(e)scape goat" in his 1530 Bible. This translation was followed by subsequent versions up through the King James Version of the Bible in 1611: "And Aaron shall cast lots upon the two goats; one lot for the Lord, and the other lot for the scapegoat."  Several modern versions however either leave it as the proper noun Azazel, or footnote "for Azazel" as an alternative reading.
Jewish sources in the Talmud (Yoma 6:4,67b) give the etymology of azazel as a compound of az, strong or rough, and el, mighty, that the goat was sent from the most rugged or strongest of mountains.  From the Targums onwards the term azazel was also seen by some rabbinical commentators as the name of a Hebrew demon, angelic force, or pagan deity.  The two readings are still disputed today. 
The scapegoat was a goat that was designated (Hebrew : לַעֲזָאזֵֽל) la-'aza'zeyl; "for absolute removal" (for symbolic removal of the people's sins with the literal removal of the goat), and outcast in the desert as part of the Yom Kippur Temple service, that began during the Exodus with the original Tabernacle and continued through the times of the temples in Jerusalem.
Once a year, on Yom Kippur, the Cohen Gadol sacrificed a bull as a sin offering to atone for sins he may have committed unintentionally throughout the year. Subsequently he took two goats and presented them at the door of the tabernacle. Two goats were chosen by lot: one to be "for YHWH", which was offered as a blood sacrifice, and the other to be the scapegoat to be sent away into the wilderness and pushed down a steep ravine where it died.  The blood of the slain goat was taken into the Holy of Holies behind the sacred veil and sprinkled on the mercy seat, the lid of the ark of the covenant. Later in the ceremonies of the day, the High Priest confessed the intentional sins of the Israelites to God placing them figuratively on the head of the other goat, the Azazel scapegoat, who would symbolically "take them away".
In Christianity, this process prefigures the sacrifice of Christ on the cross through which God has been propitiated and sins can be expiated. Jesus Christ is seen to have fulfilled all of the biblical "types"—the High Priest who officiates at the ceremony, the Lord's goat that deals with the pollution of sin and the scapegoat that removes the "burden of sin". Christians believe that sinners who admit their guilt and confess their sins, exercising faith and trust in the person and sacrifice of Jesus, are forgiven of their sins. The sacrifice of these two goats foretells to a degree of what happened when Jesus and Barabbas were presented by Pontius Pilate to the people in Jerusalem. Barabbas (which means son of the father in Aramaic) who was guilty (burdened with sin) was released while Jesus (also the Son of the Father) who was innocent of Sin was presented by the High Priest and was sacrificed by the Romans through crucifixion.
Since the second goat was sent away to perish,  the word "scapegoat" has developed to indicate a person who is blamed and punished for the actions of others.
A concept superficially similar to the biblical scapegoat is attested in two ritual texts of the 24th century BC archived at Ebla.  They were connected with ritual purification on the occasion of the king's wedding. In them, a she-goat with a silver bracelet hung from her neck was driven forth into the wasteland of "Alini"; "we" in the report of the ritual involves the whole community. Such "elimination rites", in which an animal, without confession of sins, is the vehicle of evils (not sins) that are chased from the community are widely attested in the Ancient Near East. 
Ancient Greeks practiced scapegoating rituals in exceptional times based on the belief that the repudiation of one or two individuals would save the whole community.   Scapegoating was practiced with different rituals across ancient Greece for different reasons but was mainly used during extraordinary circumstances such as famine, drought, or plague.   The scapegoat would usually be an individual of lower society such as a criminal, slave, or poor person and was referred to as the pharmakos , katharma or peripsima.  
There is a dichotomy, however, in the individuals used as scapegoats in mythical tales and the ones used in the actual rituals. In mythical tales, it was stressed that someone of high importance had to be sacrificed if the whole society were to benefit from the aversion of catastrophe (usually a king or the king's children).   However, since no king or person of importance would be willing to sacrifice himself or his children, the scapegoat in actual rituals would be someone of lower society who would be given value through special treatment such as fine clothes and dining before the sacrificial ceremony. 
Sacrificial ceremonies varied across Greece depending on the festival and type of catastrophe. In Abdera, for example, a poor man was feasted and led around the walls of the city once before being chased out with stones.  In Massilia, a poor man was feasted for a year and then cast out of the city in order to stop a plague.  The scholia refer to the pharmakos being killed, but many scholars reject this and argue that the earliest evidence (the fragments of the iambic satirist Hipponax) show the pharmakos being only stoned, beaten, and driven from the community.
The scapegoat, as a religious and ritualistic practice and a metaphor for social exclusion, is one of the major preoccupations in Dimitris Lyacos's Poena Damni trilogy.   In the first book, Z213: Exit, the narrator sets out on a voyage in the midst of a dystopian landscape that is reminiscent of the desert mentioned in Leviticus (16, 22). The text also contains references to the ancient Greek pharmakos .   In the second book, With the People from the Bridge , the male and female characters are treated apotropaically as vampires and are cast out from both the world of the living and that of the dead.  In the third book, The First Death, the main character appears irrevocably marooned on a desert island as a personification of miasma expelled to a geographical point of no return.  
The Book ofLeviticus is the third book of the Torah and of the Old Testament, also known as the Third Book of Moses. Scholars generally agree that it developed over a long period of time, reaching its present form during the Persian Period, from 538–332 BC.
A sin offering is a sacrificial offering described and commanded in the Torah ; it could be fine flour or a proper animal. A sin offering also occurs in 2 Chronicles 29:21 where seven bulls, seven rams, seven lambs and seven he-goats were sacrificed on the command of King Hezekiah for the kingdom, for the sanctuary, and for Judah. Like all types of sacrifices offered on the altar, the flour had to be unscented and the animal had to be completely unblemished. This offered sacrifice accompanied the important required core means of atonement for the committing of an unintentional transgression of a prohibition, that either has brought guilt upon the 'community of Israel' or the individual. This offering is brought during or after atonement for those transgressions that had been committed inadvertently, or in ignorance: intentional transgressions could only be absolved by other forms of atonement, or in severe cases kareth. It was distinct from the biblical guilt offering.
In the Bible, the name Azazel appears in association with the scapegoat rite; the name represents a desolate place where a scapegoat bearing the sins of the Jews during Yom Kippur was sent. During the end of the Second Temple period, his association as a fallen angel responsible for introducing humans to forbidden knowledge emerged due to Hellenization, Christian narrative, and interpretation exemplified in the Book of Enoch. His role as a fallen angel partly remains in Christian and Islamic traditions.
Cleromancy is a form of sortition in which an outcome is determined by means that normally would be considered random, such as the rolling of dice (astragalomancy), but that are sometimes believed to reveal the will of a deity.
In Judaism, the korban, also spelled qorban or corban, is any of a variety of sacrificial offerings described and commanded in the Torah. The plural form is korbanot, korbanoth, or korbanos.
In Judaism, ritual washing, or ablution, takes two main forms. Tevilah (טְבִילָה) is a full body immersion in a mikveh, and netilat yadayim is the washing of the hands with a cup.
Jacob Milgrom was a prominent American Jewish Bible scholar and Conservative rabbi. Milgrom's major contribution to biblical research was in the field of cult and worship. Although he accepted the documentary hypothesis, contrary to the classical bible critics, he traced a direct line of development from the Priestly Code (P), to the Holiness Code (H), to the cultic innovations of Ezekiel, to the cultic writings of the Dead Sea sect and finally to Jewish law (halacha) of the Mishnah and Talmud. Best known for his comprehensive Torah commentaries and work on the Dead Sea Scrolls, he also published extensively on the Book of Ezekiel.
Parashat Vayikra, VaYikra, Va-yikra, Wayyiqra, or Wayyiqro is the 24th weekly Torah portion in the annual Jewish cycle of Torah reading and the first in the Book of Leviticus. The parashah lays out the laws of sacrifices. It constitutes Leviticus 1:1–5:26.
Tzav, Tsav, Zav, Sav, or Ṣaw is the 25th weekly Torah portion in the annual Jewish cycle of Torah reading and the second in the Book of Leviticus. The parashah teaches how the priests performed the sacrifices and describes the ordination of Aaron and his sons. The parashah constitutes Leviticus 6:1–8:36. The parashah is made up of 5,096 Hebrew letters, 1,353 Hebrew words, 97 verses, and 170 lines in a Torah scroll. Jews read it the 24th or 25th Sabbath after Simchat Torah, generally in the second half of March or the first half of April.
Acharei Mot is the 29th weekly Torah portion in the annual Jewish cycle of Torah reading. It is the sixth weekly portion in the Book of Leviticus, containing Leviticus 16:1–18:30. It is named after the fifth and sixth Hebrew words of the parashah, its first distinctive words.
A burnt offering in Judaism is a form of sacrifice first described in the Hebrew Bible. As a tribute to God, a burnt offering was entirely burnt on the altar. This is in contrast to other forms of sacrifice, which was partly burnt and most of it eaten in communion at a sacrificial meal.
Leonard or Master Leonard is a demon or spirit in the Dictionnaire Infernal, grand-master of the nocturnal orgies of demons. He is represented as a three-horned goat, with a black human face. He marks his initiates with one of his horns. Infernal powers obtained from the worship of Master Leonard range from metamorphosis into monstrous animals or men to flight as an incubus.
The First Death is a book by Dimitris Lyacos. It is part of the Poena Damni trilogy. The book tells the story of a marooned man on a desert island in a sequence of fourteen poem sections, recounting his relentless struggle for survival as well as his physical and mental disintegration. The work alludes simultaneously to a modern Philoctetes, an inverted version of Crusoe as well as the myth of the dismemberment of Dionysus. The dense and nightmarish imagery of the poem, replete with sensations of hallucination, delirium, synesthesia, and putrefaction has drawn comparisons to Lautreamont, Trakl and Beckett. Despite being first in the publication history of the Poena Damni trilogy, The First Death is chronologically last in the narrative sequence.
Z213: Exit is a 2009 novel by Greek author Dimitris Lyacos. It is the first installment of the Poena Damni trilogy. Despite being the first of the trilogy in narrative order, the book was the third to be published in the series. The work develops as a sequence of fragmented diary entries recording the solitary experiences of an unnamed, Ulysses-like persona in the course of a train voyage gradually transformed into an inner exploration of the boundaries between self and reality. The voyage is also akin to the experience of a religious quest with a variety of biblical references, mostly from the Old Testament, being embedded into the text which is often fractured and foregoing punctuation. Most critics place Z213: Exit in a postmodern context exploring correlations with such writers as Samuel Beckett and Cormac McCarthy while others underline its modernist affinities and the work's firm foundation on classical and religious texts.
The priesthood of ancient Israel was the class of male individuals, who, according to the Hebrew Bible, were patrilineal descendants from Aaron, who served in the Tabernacle, Solomon's Temple and Second Temple until the destruction of Jerusalem in 70 CE. Their temple role included animal sacrifice. The priests are viewed as continuing in the Kohen families of rabbinical Judaism.
The prohibition against slaughtering an animal and its offspring on the same day is a negative commandment in Judaism which forbids the slaughter of a kosher four-legged animal and its offspring on the same day.
With the People from the Bridge is the second part of the Poena Damni trilogy by Greek author Dimitris Lyacos. The book deals with the theme of loss and the return of the dead in the context of Christian teleology. The text is encased in a post-theatrical ritual drama form, drawing on various philosophical and literary sources as well as ancient and modern Greek folklore. The plot-line centers around an Orpheus-like journey of the protagonist LG who joins his deceased companion in the grave and is subsequently led by her to a liminal realm ahead of the imminent Resurrection Day. The work has been categorized by critics to belong to both the Modernist and the Post-Modernist tradition, while at the same time bearing strong affinities to a variety of canonical texts, among others Homer, Dante, Kafka, Joyce and Beckett.
Se’īrīm are a demon. Sa’ir was the ordinary Hebrew word for "he-goat", and it is not always clear what the word's original meaning might have been. But in early Jewish thought, represented by targumim and possibly 3 Baruch, along with translations of the Hebrew Bible such as the Peshitta and Vulgate, the se’īrīm were understood as demons. They are considered to be the lowest of all created beings. Se'īrīm are frequently compared with the shedim of Hebrew tradition, along with satyrs of Greek mythology, fauns of Roman mythology and jinn of Arab culture.
Shemen is the most commonly used word for oil in the Hebrew scriptures, used around 170 times in a variety of contexts.
In Judaism, the Yom Kippur Temple service was a special sacrificial service performed by the High Priest of Israel on the holiday of Yom Kippur, in the Temple in Jerusalem. Through this service, according to the Bible, the Jewish people would achieve atonement for their sins once each year. The service is notable as the only time in the year any person was allowed to enter the Holy of Holies, and is the source of the term scapegoat.