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 broken hearted and saves those who are crushed in spirit.

Psalm 147:3

3 He heals the broken hearted and binds up their wounds.