Judges 10:10-16 ESV
And the people of Israel cried out to the LORD, saying, “We have sinned against you, because we have forsaken our God and have served the Baals.” And the LORD said to the people of Israel, “Did I not save you from the Egyptians and from the Amorites, from the Ammonites and from the Philistines? The Sidonians also, and the Amalekites and the Maonites oppressed you, and you cried out to me, and I saved you out of their hand. Yet you have forsaken me and served other gods; therefore I will save you no more. Go and cry out to the gods whom you have chosen; let them save you in the time of your distress.” And the people of Israel said to the LORD, “We have sinned; do to us whatever seems good to you. Only please deliver us this day.” So they put away the foreign gods from among them and served the LORD, and he became impatient over the misery of Israel.
ESV: English Standard Version 2016