This is an idiom which means that the Spirit influenced Jephthah's decisions. Alternate translation: "the Spirit of Yahweh took control of Jephthah" (See: [[rc://en/ta/man/translate/figs-idiom]])
Jephthah passed through these places enlisting men for his army to go to war with the people of Ammon. The full meaning of this can be made clear. Alternate translation: "he gathered men for his army as he passed through Gilead and Manasseh ... from Mizpah of Gilead" (See: [[rc://en/ta/man/translate/figs-explicit]])