9But Jephthah asked them, “If you take me back to fight the Ammonites and the LORD gives them to me, will I really be your leader?”
10And the elders of Gilead said to Jephthah, “The LORD is our witness if we do not do as you say.”
11So Jephthah went with the elders of Gilead, and the people made him their leader and commander. And Jephthah repeated all his terms in the presence of the LORD at Mizpah.
— Judges 11:9-11