Leviticus 16:7-10King James Version (KJV)
7 And he shall take the two goats, and present them before the Lord at the door of the tabernacle of the congregation.
8 And Aaron shall cast lots upon the two goats; one lot for the Lord, and the other lot for the scapegoat.
9 And Aaron shall bring the goat upon which the Lord's lot fell, and offer him for a sin offering.
10 But the goat, on which the lot fell to be the scapegoat, shall be presented alive before the Lord, to make an atonement with him, and to let him go for a scapegoat into the wilderness.
Leviticus 16:21-22King James Version (KJV)
21 And Aaron shall lay both his hands upon the head of the live goat, and confess over him all the iniquities of the children of Israel, and all their transgressions in all their sins, putting them upon the head of the goat, and shall send him away by the hand of a fit man into the wilderness:
22 And the goat shall bear upon him all their iniquities unto a land not inhabited: and he shall let go the goat in the wilderness.