2 Kings 22:19-21

19 because your heart was tender (receptive, penitent) and you humbled yourself before the LORD when you heard what I said against this place and against its inhabitants, that they should become a desolation and a curse, and because you have torn your clothes and wept before Me, I have heard you," declares the LORD.

20 Therefore, behold, [King Josiah,] I will gather you to your fathers, and you will be taken to your grave in peace, and your eyes will not see all the evil (catastrophe) which I will bring on this place."'" So they brought back word to the king.