Berean Standard Bible (BSB)
The righteous cry out, and the LORD hears; He delivers them from all their troubles.
World English Bible (WEB)
The righteous cry, and Yahweh hears, and delivers them out of all their troubles.
Strong's King James
The righteous cry{H6817}{(H8804)}, and the LORD{H3068} heareth{H8085}{(H8804)}, and delivereth{H5337}{(H8689)} them out of all their troubles{H6869}.
The F.O.G *
(17) Cry out and  יהוה YAHWEH hears, Rescuing them from all their distress.
The F.O.G Message *
Young's Literal Translation
They cried, and Jehovah heard, And from all their distresses delivered them.