But whenever they were in trouble and turned to the lord, the God of Israel, and sought him out, they found him.