As long as Uzziah sought Yahweh, God made him to prosper. ... But when he was strong, his heart was lifted up, so that he did corruptly, and he trespassed against Yahweh his God.
Read all of 2 Chronicles 26 WEB
Read 2 Chronicles 26:5b,16a in another translation