Psalms 34:17-19

The righteous cry out, and the Lord hears, And delivers them out of all their troubles.  The Lord is near to those who have a broken heart, And saves such as have a contrite spirit.  Many are the afflictions of the righteous, But the Lord delivers him out of them all.