Judges 10:11-16

ISV(i) 11 The LORD replied to the Israelis, “Aren’t you away from the Egyptians, the Amorites, the Ammonites, and the Philistines? 12 And when the Sidonians, the Amalekites, and the Maonites harassed you, you cried out to me, and I delivered you from under their domination. 13 But you have abandoned me and served other gods. Therefore I will no longer be delivering you. 14 Go and cry out to the gods that you have chosen for yourselves. Let them deliver you in your time of trouble.”
15 The Israelis replied to the LORD, “We have sinned, so do to us anything that’s right to do in your opinion, just please deliver us right now.” 16 When they put away their foreign gods and served the LORD, he brought Israel’s misery to an end.