but when in their trouble they turned to the LORD God of Israel, and sought Him, He was found by them.