When you demand your position is higher than what it really is and you think you can do what you want, your way.
2 Chronicles 26:15-20 ISR
And he made machines in Yerushalayim, devised by skilled men, to be on the towers and the corners, to shoot arrows and large stones. And his name spread far and wide, for he was marvellously helped till he became strong. But when he became strong his heart lifted, to his destruction, for he trespassed against Yahuah his Elohim by entering the Hêkal of Yahuah to burn incense on the slaughter-place of incense. And Azaryahu the priest went in after him, and with him were eighty priests of Yahuah, who were brave men. And they stood up against Sovereign Uzziyahu, and said to him, "It is not for you, Uzziyahu, to burn incense to Yahuah, but for the priests, the sons of Aharon, who are set-apart to burn incense. Get out of the set-apart place, for you have trespassed, and there is no esteem to you from Yahuah Elohim." And Uzziyahu was wroth. And he had a censer in his hand to burn incense. And while he was wroth with the priests, leprosy broke out on his forehead, before the priests in the House of Yahuah, beside the incense slaughter-place. And Azaryahu the chief priest and all the priests looked at him, and saw that he was leprous on his forehead. And they hurried him from there. And he also hurried to get out, because Yahuah had struck him. And Sovereign Uzziyahu was a leper until the day of his death, and dwelt in a separate house, because he was a leper, for he was cut off from the House of Yahuah. And Yotham his son was over the sovereign's house, ruling the people of the land.