6 Then the children of Israel again did evil in the sight of the Lord, and served the Baals and the Ashtoreths, the gods of Syria, the gods of Sidon, the gods of Moab, the gods of the people of Ammon, and the gods of the Philistines; and they forsook the Lord and did not serve Him. 7 So the anger of the Lord was hot against Israel; and He sold them into the hands of the Philistines and into the hands of the people of Ammon. 8 From that year they harassed and oppressed the children of Israel for eighteen years—all the children of Israel who were on the other side of the Jordan in the land of the Amorites, in Gilead. 9 Moreover the people of Ammon crossed over the Jordan to fight against Judah also, against Benjamin, and against the house of Ephraim, so that Israel was severely distressed.
10 And the children of Israel cried out to the Lord, saying, “We have sinned against You, because we have both forsaken our God and served the Baals!”
11 So the Lord said to the children of Israel, “Did I not deliver you from the Egyptians and from the Amorites and from the people of Ammon and from the Philistines? 12 Also the Sidonians and Amalekites and Maonites oppressed you; and you cried out to Me, and I delivered you from their hand.
Judges 10:6-12