2 Chronicles 26:16

26:16 But once he became powerful, his pride destroyed him. He disobeyed the Lord his God. He entered the Lord’s temple to offer incense on the incense altar.

2 Chronicles 27:2

27:2 He did what the Lord approved, just as his father Uzziah had done. (He did not, however, have the audacity to enter the temple.) Yet the people were still sinning.