Judges 11:5-15

5 When the Ammonites attacked Israel, Gilead's leaders went to get Jephthah from the land of Tob.
6 They said to Jephthah, "Come and be our commander so that we can wage war against Ammon."
7 But Jephthah replied to Gilead's leaders, "Don't you hate me? Didn't you throw me out of my father's house? So why are you coming to me now when you're in trouble?"
8 Gilead's leaders answered Jephthah, "The reason we've turned to you now is that we want you to go with us and wage war against Ammon. You will be the ruler of everyone who lives in Gilead."
9 Jephthah told them, "If you take me back to fight against Ammonites and the LORD gives them to me, I will be your leader."
10 Gilead's leaders said to Jephthah, "The LORD is a witness between us. We will certainly do what you say."
11 Jephthah went with them, and the people made him their leader and commander. So Jephthah went to Mizpah and repeated all these things in the presence of the LORD.
12 Jephthah sent messengers to the king of Ammon. They asked the king, "Why did you invade my land and wage war against me?"
13 The king of Ammon answered Jephthah's messengers, "When the people of Israel left Egypt, they took my land. It stretched from the Arnon River to the Jabbok River and the Jordan River. Now give it back peacefully."
14 Jephthah again sent messengers to the king of Ammon.
15 They said, "This is what Jephthah says: The people of Israel didn't take away the land belonging to Moab or Ammon.