Psalm 34:18
The LORD is near to the brokenhearted; He saves the contrite in spirit.
What it means
The heading says this psalm is David's, from the time he pretended to be insane before Abimelech and was driven away. Earlier in it he says he sought the LORD and was delivered from all his fears. In this part he tells others what he has found: the LORD hears the cry of the righteous and is near to the brokenhearted. The next verse is frank that the afflictions of the righteous are many.
The passage around it
15The eyes of the LORD are on the righteous, and His ears are inclined to their cry. 16But the face of the LORD is against those who do evil, to wipe out all memory of them from the earth. 17The righteous cry out, and the LORD hears; He delivers them from all their troubles. 18The LORD is near to the brokenhearted; He saves the contrite in spirit. 19Many are the afflictions of the righteous, but the LORD delivers him from them all. 20He protects all his bones; not one of them will be broken. 21Evil will slay the wicked, and the haters of the righteous will be condemned. 22The LORD redeems His servants, and none who take refuge in Him will be condemned.
Psalm 34:15–22 · Read all of Psalm 34