As was the custom of the priests, he was chosen by lot to enter the sanctuary of the Lord and burn incense.