Then Jephthah went with the elders of Gilead, and the people made him head and chief over them: and Jephthah spoke all his words before Yahweh in Mizpah.
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.