And they put away the foreign gods from among them, and served the LORD: and his soul was grieved for the misery of Israel.