The elders of Gilead said to Jephthah, “For this reason we have now returned to you, that you may go with us and fight with the sons of Ammon and become head over all the inhabitants of Gilead.” So Jephthah said to the elders of Gilead, “If you take me back to fight against the sons of Ammon and the LORD gives them up to me, will I become your head?” The elders of Gilead said to Jephthah, “The LORD is witness between us; surely we will do as you have said.” 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 the LORD at Mizpah.
Now Jephthah sent messengers to the king of the sons of Ammon, saying, “What is between you and me, that you have come to me to fight against my land?” The king of the sons of Ammon said to the messengers of Jephthah, “Because Israel took away my land when they came up from Egypt, from the Arnon as far as the Jabbok and the Jordan; therefore, return them peaceably now.” But Jephthah sent messengers again to the king of the sons of Ammon, and they said to him, “Thus says Jephthah, ‘Israel did not take away the land of Moab nor the land of the sons of Ammon. For when they came up from Egypt, and Israel went through the wilderness to the Red Sea and came to Kadesh, then Israel sent messengers to the king of Edom, saying, “Please let us pass through your land,” but the king of Edom would not listen. And they also sent to the king of Moab, but he would not consent. So Israel remained at Kadesh. Then they went through the wilderness and around the land of Edom and the land of Moab, and came to the east side of the land of Moab, and they camped beyond the Arnon; but they did not enter the territory of Moab, for the Arnon was the border of Moab. And Israel sent messengers to Sihon king of the Amorites, the king of Heshbon, and Israel said to him, “Please let us pass through your land to our place.” But Sihon did not trust Israel to pass through his territory; so Sihon gathered all his people and camped in Jahaz and fought with Israel. The LORD, the God of Israel, gave Sihon and all his people into the hand of Israel, and they defeated them; so Israel possessed all the land of the Amorites, the inhabitants of that country. So they possessed all the territory of the Amorites, from the Arnon as far as the Jabbok, and from the wilderness as far as the Jordan. Since now the LORD, the God of Israel, drove out the Amorites from before His people Israel, are you then to possess it? Do you not possess what Chemosh your god gives you to possess? So whatever the LORD our God has driven out before us, we will possess it. Now are you any better than Balak the son of Zippor, king of Moab? Did he ever strive with Israel, or did he ever fight against them? While Israel lived in Heshbon and its villages, and in Aroer and its villages, and in all the cities that are on the banks of the Arnon, three hundred years, why did you not recover them within that time? I therefore have not sinned against you, but you are doing me wrong by making war against me; may the LORD, the Judge, judge today between the sons of Israel and the sons of Ammon.’ ” But the king of the sons of Ammon disregarded the message which Jephthah sent him.
Now the Spirit of the LORD came upon Jephthah, so that he passed through Gilead and Manasseh; then he passed through Mizpah of Gilead, and from Mizpah of Gilead he went on to the sons of Ammon. Jephthah made a vow to the LORD and said, “If You will indeed give the sons of Ammon into my hand, then it shall be that whatever comes out of the doors of my house to meet me when I return in peace from the sons of Ammon, it shall be the LORD’S, and I will offer it up as a burnt offering.” So Jephthah crossed over to the sons of Ammon to fight against them; and the LORD gave them into his hand. He struck them with a very great slaughter from Aroer to the entrance of Minnith, twenty cities, and as far as Abel-keramim. So the sons of Ammon were subdued before the sons of Israel.