Then they cried to the Lord in their trouble, and he delivered them from their distress.