2 Chronicles 26:4

And he did that which was right in the sight of the LORD, according to all that his father Amaziah did.

Uzziah did what was right in the Lord's sight, following all that his father Amaziah had done. That right doing belonged to his early faithfulness, coming before he sought God and before God made him prosper. His early obedience did not keep him from afterward growing proud in success. In that pride he presumed to enter upon a priestly office and perform a priestly duty that God had not assigned to him.