they put away the strange gods ... and served the Lord; and his soul was grieved for the misery of Israel - On their abandonment of idolatry and return to purity of worship, God graciously abridged the term of national affliction and restored times of peace.