And Jephthah made a vow to the LORD and said, “If you will give the Ammonites into my hand, then whatever comes out from the doors of my house to meet me when I return in peace from the Ammonites shall be the LORD’s, and I will offer it up for a burnt offering.” So Jephthah crossed over to the Ammonites to fight against them, and the LORD gave them into his hand. And he struck them from Aroer to the neighborhood of Minnith, twenty cities, and as far as Abel-keramim, with a great blow. So the Ammonites were subdued before the people of Israel.
Then Jephthah came to his home at Mizpah. And behold, his daughter came out to meet him with tambourines and with dances. She was his only child; besides her he had neither son nor daughter. And as soon as he saw her, he tore his clothes and said, “Alas, my daughter! You have brought me very low, and you have become the cause of great trouble to me. For I have opened my mouth to the LORD, and I cannot take back my vow.” And she said to him, “My father, you have opened your mouth to the LORD; do to me according to what has gone out of your mouth, now that the LORD has avenged you on your enemies, on the Ammonites.” So she said to her father, “Let this thing be done for me: leave me alone two months, that I may go up and down on the mountains and weep for my virginity, I and my companions.” So he said, “Go.” Then he sent her away for two months, and she departed, she and her companions, and wept for her virginity on the mountains. And at the end of two months, she returned to her father, who did with her according to his vow that he had made. She had never known a man, and it became a custom in Israel that the daughters of Israel went year by year to lament the daughter of Jephthah the Gileadite four days in the year.