And he did that which was right in the sight of the LORD, according to all that his father Uzziah did: howbeit he entered not into the temple of the LORD. And the people did yet corruptly.
He did what was pleasing to God, just like his father Uzziah, but he didn't go inside the temple. The people still behaved badly.