"Hezekiah was delighted with the Babylonian envoys and showed them everything in his treasure-houses—the silver, the gold, the spices, and the aromatic oils. He also took them to see his armory and showed them everything in his royal treasuries! There was nothing in his palace or kingdom that Hezekiah did not show them.
Then Isaiah said to Hezekiah, 'Listen to this message from the LORD of Heaven's Armies: "The time is coming when everything in your palace—all the treasures stored up by your ancestors until now—will be carried off to Babylon. Nothing will be left," says the LORD. "Some of your very own sons will be taken away into exile. They will become eunuchs who will serve in the palace of Babylon's king."'
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.'"
God in his mercy spared Hezekiah's life, but because Hezekiah's pride continued, the consequences of his showing the Babylonian visitors his treasures would mean disaster for his descendants. Notice Hezekiah's response to Isaiah's message: outward assent but inward selfishness. He didn't care about his descendants but cared only for his personal peace and security. This attitude permeates our world too. It's the perfect example of how the sinful nature works: I only care abut myself and my own personal peace and security and do not care about the consequences of my actions or decisions for those who come after me.