Judges 10:8

And that year they vexed and oppressed the children of Israel: eighteen years, all the children of Israel that were on the other side Jordan in the land of the Amorites, which is in Gilead.

The oppression described lasted eighteen years and fell upon Israel in Gilead, east of the Jordan, in the land of the Amorites. When Israel put away its sins and served the Lord, He heard their prayers and began to help them. That long affliction was then followed by deliverance through Jephthah, who defeated the Ammonites.