And they put away the strange gods from among them and served the Lord; and his soul was grieved for the misery of Israel.