18 But as to the king of Judah, who sent you to inquire of the Lord, thus shall you say to him, Thus says the Lord, the God of Israel: Regarding the words which you have heard, 19 because your heart was penitent, and you humbled yourself before the Lord, when you heard how I spoke against this place, and against its inhabitants, that they should become a desolation and a curse, and you have rent your clothes and wept before me, I also have heard you, says the Lord. 20 Therefore, behold, I will gather you to your fathers, and you shall be gathered to your grave in peace, and your eyes shall not see all the evil which I will bring upon this place.'" And they brought back word to the king.

Matthew Henry's Commentary on 2 Kings 22:18-20

Commentary on 2 Kings 22:11-20

(Read 2 Kings 22:11-20)

The book of the law is read before the king. Those best honour their Bibles, who study them; daily feed on that bread, and walk by that light. Convictions of sin and wrath should put us upon this inquiry, What shall we do to be saved? Also, what we may expect, and must provide for. Those who are truly apprehensive of the weight of God's wrath, cannot but be very anxious how they may be saved. Huldah let Josiah know what judgments God had in store for Judah and Jerusalem. The generality of the people were hardened, and their hearts unhumbled, but Josiah's heart was tender. This is tenderness of heart, and thus he humbled himself before the Lord. Those who most fear God's wrath, are least likely to feel it. Though Josiah was mortally wounded in battle, yet he died in peace with God, and went to glory. Whatever such persons suffer or witness, they are gathered to the grave in peace, and shall enter into the rest which remaineth for the people of God.