Leviticus 16:7-10
Leviticus 16:7-10 NIV
Then he is to take the two goats and present them before the LORD at the entrance to the tent of meeting. He is to cast lots for the two goats—one lot for the LORD and the other for the scapegoat. Aaron shall bring the goat whose lot falls to the LORD and sacrifice it for a sin offering. But the goat chosen by lot as the scapegoat shall be presented alive before the LORD to be used for making atonement by sending it into the wilderness as a scapegoat.