AKJV
(i)
17 The righteous cry, and the LORD hears, and delivers them out of all their troubles.
18 The LORD is near to them that are of a broken heart; and saves such as be of a contrite spirit.
19 Many are the afflictions of the righteous: but the LORD delivers him out of them all.