2 Kings 20:18
And of thy sons that shall issue from thee, which thou shalt beget, shall they take away; and they shall be eunuchs in the palace of the king of Babylon. And of thy sons that shall issue from thee, which thou shalt beget, shall they take away; and they shall be eunuchs in the palace of the king of Babylon.
The judgment was spoken after Hezekiah received the ambassadors from Babylon and showed them his treasures and riches, his prosperity and advantages, and the treasures of his house and of Jerusalem, even the riches of the Lord and of God's house. It foretells that the sons and descendants issuing from him, whom he would beget, would be taken away to Babylon and made eunuchs in the palace of the king of Babylon. The display that called forth the word came from pride and self-exaltation, for God left Hezekiah to reveal what was in his heart as a test. Hezekiah thought that showing his advantages would gain him influence with his visitors.
Their report carried knowledge of those riches and advantages to Babylon's king and counselors, leading them to desire them and to plan to take them for themselves, including Hezekiah's descendants. The display was a heinous sin and a betrayal of sacred trust because it exposed the sacred treasures of God's house and the Lord's riches to outsiders. It was unwise to make such an exposure.
The verse teaches that it is unwise and sinful for God's people to expose to outsiders and to the enemy what should be guarded, whether their troubles or their prosperity, and that such exposure brings serious harm. Hezekiah's display began the loss of his kingdom's security, showing that trusting alliances with unbelievers rather than God brings consequences. Leaders who betray sacred trusts weaken the faith of those they lead. The episode warns against displaying institutional wealth and achievements in a way that exalts people, feeds pride, and turns attention from God.