It was so, that when the children of Ammon made war against Israel, the elders of Gilead went to get Jephthah out of the land of Tob;
Notice how the writer of Judges constructed these first 11 verses parallel to Judges 10:6-16. The elders of Gilead had treated Jephthah exactly as Israel had treated Yahweh.