He dedicated his life to serving God in the days of Zechariah, who taught him to fear God. As long as he dedicated his life to serving the Lord, the Lord gave him success.
He did what the Lord considered right, as his father Uzziah had done. But unlike his father, he didn’t ⌞illegally⌟ enter the Lord’s temple. Nevertheless, the people continued their corrupt ways.