As long as Uzziah sought the LORD, God gave him success. ... But after Uzziah became powerful, his pride led to his downfall.
2 Chronicles 26:5b,16a


He did what was right in the eyes of the LORD, just as his father Amaziah had done. He sought God during the days of Zechariah, who instructed him in the fear of God. As long as he sought the LORD, God gave him success.
But after Uzziah became powerful, his pride led to his downfall. He was unfaithful to the LORD his God, and entered the temple of the LORD to burn incense on the altar of incense. Azariah the priest with eighty other courageous priests of the LORD followed him in. They confronted King Uzziah and said, “It is not right for you, Uzziah, to burn incense to the LORD. That is for the priests, the descendants of Aaron, who have been consecrated to burn incense. Leave the sanctuary, for you have been unfaithful; and you will not be honored by the LORD God.”