Leviticus 16:5-9

16:5 He must also take two male goats from the congregation of the Israelites for a sin offering and one ram for a burnt offering. 16:6 Then Aaron is to present the sin offering bull which is for himself and is to make atonement on behalf of himself and his household. 16:7 He must then take the two goats and stand them before the Lord at the entrance of the Meeting Tent, 16:8 and Aaron is to cast lots over the two goats, one lot for the Lord and one lot for Azazel. 16:9 Aaron must then present the goat which has been designated by lot for the Lord, and he is to make it a sin offering,