When he was about to die from the effects of a boil, King Hezekiah called on the prophet Isaiah. This interaction including the cure for the boil can also be found in Isaiah 38. Although King Hezekiah almost died, the Lord decided to let him live another fifteen years--and prevent the Assyrians from taking over Judah.
The king of Babylon came to visit and Hezekiah showed him all his treasures. Isaiah said the day will come when Babylon takes over all that you and your ancestors have stored up. Hezekiah appeared unconcerned about what would happen to his country or his children after he himself was dead.