Leviticus 16:6-11

6Aaron shall aoffer the bull as a sin offering for himself and shall bmake atonement for himself and for his house. 7Then he shall take the two goats and set them before the Lord at the entrance of the tent of meeting. 8And Aaron shall cast lots over the two goats, one lot for the Lord and the other lot for cAzazel.
The meaning of  Azazel is uncertain; possibly the name of a place or a demon, traditionally a scapegoat; also verses 10, 26
9And Aaron shall present the goat on which the lot fell for the Lord and use it as a sin offering, 10but the goat on which the lot fell for eAzazel shall be presented alive before the Lord to make atonement over it, that it may be sent away into the wilderness to fAzazel.

11Aaron shall present gthe bull as a sin offering for himself, and shall make atonement for himself and for his house. He shall kill the bull as a sin offering for himself.
Copyright information for ESV