6 Then they sent up their cry to the Lord in their sorrow, and he gave them salvation out of all their troubles;