Did Hezekiah have a tendency towards pride? After God healed him and promised to extend his life by 15 years:

2 Chronicles 32:25-31But Hezekiah did not respond appropriately to the kindness shown him, and he became proud. So the Lord’s anger came against him and against Judah and Jerusalem. Then Hezekiah humbled himself and repented of his pride, as did the people of Jerusalem. So the Lord’s anger did not fall on them during Hezekiah’s lifetime.

He then succeeded in everything he did and became very wealthy. We’re told that God then took a step back to show Hezekiah what was in his heart.

And what was in Hezekiah’s heart appears to be a certain amount of pride in his achievements. Hezekiah showed a visiting Babylonian delegation everything—Judah’s wealth and its military capacity. Indeed, ‘There was nothing in his palace or kingdom that Hezekiah did not show them.’

In effect, Hezekiah had just shown the next superpower what they were up against should they ever decide to wage war against Jerusalem. This act led to the fall of Jerusalem to the Babylonians only a generation later.

When warned of this by Isaiah, Hezekiah’s response wasn’t to repent and plead forgiveness. Instead:

2 Kings 20:9 Then Hezekiah said to Isaiah, ‘This message you have given me from the Lord is good.’ For the king was thinking, ‘At least there will be peace and security during my lifetime.’