according to the custom of the priesthood, he was chosen by lot to enter the temple of the Lord and burn incense.