The children of Israel again did that which was evil in the sight of Yahweh, and served the Baals, and the Ashtaroth, and the gods of Syria, and the gods of Sidon, and the gods of Moab, and the gods of the children of Ammon, and the gods of the Philistines; and they forsook Yahweh, and didn't serve him.
So, the children of Israel said unto the LORD, we have sinned: [they began confessing] do thou unto us whatsoever seems good to you; deliver us only, we pray thee, today. And thy put away the strange gods from among them, they served the LORD: and his soul was grieved for the misery of Israel ( Judges 10:15-16 ).