Psalm 34:17-18

17 The righteous cry out, and the Lord hears them;
    he delivers them from all their troubles.
18 The Lord is close to the brokenhearted
    and saves those who are crushed in spirit.