For your consolation:
Psa 34:18 The LORD is nigh unto them that are of a broken heart; and saveth such as be of a contrite spirit.
The Lord is nigh unto them that are of a broken heart. Near in friendship to accept and console. Broken hearts think God far away, when he is really most near them; their eyes are holden so that they see not their best friend. Indeed, he is with them, and in them, but they know it not. They run hither and thither, seeking peace in their own works, or in experiences, or in proposals and resolutions, whereas the Lord is nigh them, and the simple act of faith will reveal him. And saveth such as be of a contrite spirit. What a blessed token for good is a repentant, mourning heart! Just when the sinner condemns himself, the Lord graciously absolves him. If we chasten our own spirits the Lord will spare us. He never breaks with the rod of judgment those who are already sore with the rod of conviction. Salvation is linked with contrition.
Charles Haddon Spurgeon)
Psa 34:19 Many are the afflictions of the righteous: but the LORD delivereth him out of them all.
Psa 34:22 The LORD redeemeth the soul of his servants: and none of them that trust in him shall be desolate.