This was likely a challenge and promise to Hezekiah during the Assyrian siege of Jerusalem (see Isaiah 36–37). If he trusted in God, his people would not weep anymore.
The Lord cares for his people's needs. When they ask for something, he will surely respond.