Then the Israelites again did what was evil in the sight of the LORD; they served the Baals, the Ashtaroth (female deities), the gods of Aram (Syria), the gods of Sidon, the gods of Moab, the gods of the Ammonites, and the gods of the Philistines. They abandoned the LORD and did not serve Him. So the anger of the LORD was kindled against Israel, and He sold them into the hands of the Philistines and the Ammonites, and they oppressed and crushed Israel that year. For eighteen years they oppressed all the Israelites who were beyond the Jordan in the land of the Amorites, which is in Gilead. The Ammonites crossed the Jordan to fight against Judah, Benjamin, and the house of Ephraim, so that Israel was greatly distressed.
Then the Israelites cried out to the LORD [for help], saying, “We have sinned against You, because we have abandoned (rejected) our God and have served the Baals.” The LORD said to the Israelites, “Did I not rescue you from the Egyptians, the Amorites, the Ammonites, and the Philistines? Also when the Sidonians, the Amalekites, and the Maonites oppressed and crushed you, you cried out to Me, and I rescued you from their hands. Yet you have abandoned (rejected) Me and served other gods; therefore I will no longer rescue you. Go, cry out to the gods you have chosen; let them rescue you in your time of distress.” The Israelites said to the LORD, “We have sinned, do to us whatever seems good to You; only please rescue us this day.” So they removed the foreign gods from among them and served the LORD; and He could bear the misery of Israel no longer.
Then the Ammonites were assembled together and they camped in Gilead. And the sons of Israel assembled and camped at Mizpah.