Judges11:31

וְהָיָה הַיּוֹצֵא אֲשֶׁר יֵצֵא מִדַּלְתֵי בֵיתִי לִקְרָאתִי בְּשׁוּבִי בְשָׁלוֹם מִבְּנֵי עַמּוֹן וְהָיָה לַיהוָה וְהַעֲלִיתִהוּ עוֹלָה׃

then whatever comes out of the doors of my house to meet me, when I return in peace from the children of Ammon, shall be the Eternal's, and I will offer it up as a burnt offering."

Judges 11:31

וְהָיָה הַיּוֹצֵא אֲשֶׁר

Shoftim / Judges 11:31 · Drash

Judges 11:31

וְהָיָה הַיּוֹצֵא אֲשֶׁר יֵצֵא מִדַּלְתֵי בֵיתִי לִקְרָאתִי בְּשׁוּבִי בְשָׁלוֹם מִבְּנֵי עַמּוֹן וְהָיָה לַיהוָה וְהַעֲלִיתִהוּ עוֹלָה׃

then whatever comes out of the doors of my house to meet me, when I return in peace from the children of Ammon, shall be the Eternal's, and I will offer it up as a burnt offering."

Drash דְּרָשׁ

Between two proud men

Two men could have saved a third. Each waited for the other to come first.

Bereshit Rabbah: four asked improperly, and to three the Eternal answered properly. To Yiftach (Jephthah) He did not: his daughter came out to meet him. Pinchas (Phinehas) could have released him from the vow, but each waited for the other to come to him. Between them the girl was lost, and both were punished.

How Bereshit Rabbah explain it

Bereshit Rabbah And it shall be, the maiden to whom I shall say

Four asked improperly. To three it was given properly, and to one it was given improperly. They are: Eliezer, Avraham's (Abraham's) servant, Kalev (Caleb), Shaul (Saul) and Yiftach (Jephthah).

Eliezer said: "And it shall be, the maiden to whom I shall say." And had a maidservant come out and given him drink, would he have married her to his master's son? Astonishing! And the Holy One, blessed is He, provided for him properly: "Before he had finished speaking, behold, Rivkah (Rebecca) came out" (Bereshit / Genesis 24:15).

And Kalev said: "Whoever strikes Kiryat Sefer and captures it, to him I will give Achsah my daughter as wife" (Shoftim / Judges 1:12). And had a slave captured it, would he have given him his daughter? And the Holy One, blessed is He, provided for him properly, as it says: "And Otniel (Othniel) son of Kenaz, Kalev's brother, captured it, and he gave him Achsah his daughter as wife" (Shoftim / Judges 1:13).

Shaul said: "And it shall be, the man who strikes him, the king will enrich him with great riches and will give him his daughter as wife" (Shmuel I / I Samuel 17:25). And had some Kushite, or idolater, or slave come out and struck him, would he have given him his daughter? And the Holy One, blessed is He, provided for him properly, as it is written: "And David was the son of an Ephrathite" (Shmuel I / I Samuel 17:12).

Yiftach: "And it shall be, whatever comes out" and "I will offer it up as a burnt offering to the Eternal." And had a donkey, or a dog, or a cat come out, would he have offered it up as a burnt offering? And the Holy One, blessed is He, provided for him improperly, as it says: "And Yiftach came to Mitzpah, to his house, and behold, his daughter came out to meet him" (Shoftim / Judges 11:34).

Rabbi Yochanan and Reish Lakish. Rabbi Yochanan said: he owed a money payment to the Temple. Reish Lakish said: he did not even owe a money payment. For we learned: if one said of an impure animal or of a blemished animal, "These are a burnt offering," he has said nothing. If he said, "These are for a burnt offering," they are sold and a burnt offering is brought with their money.

And was Pinchas (Phinehas) not there to release him from his vow? But Pinchas said: "He needs me, and I should go to him?" And Yiftach said: "I am the head of the chiefs of Israel, and I should go to Pinchas?" Between this one and that one the girl was lost. This is what the proverb says: "Between the midwife and the woman in labour, the poor woman's son was lost." And both were punished for the girl's blood.

Yiftach died by losing his limbs: wherever he went, a limb fell from him, and they buried it there. This is what it says: "And Yiftach died and was buried in the cities of Gilad (Gilead)" (Shoftim / Judges 12:7). It does not say "in the city of Gilad," but "in the cities of Gilad." From Pinchas the holy spirit was taken, as it says: "Pinchas son of Elazar (Eleazar) was ruler over them, in time past the Eternal was with him" (Divrei HaYamim I / I Chronicles 9:20). It is not written "he is ruler over them," but "was ruler": in time past the Eternal was with him.

Takeaway

Pinchas (Phinehas) is Aharon's (Aaron's) grandson. In the days of the Judges he served before the ark of the covenant (Shoftim / Judges 20:27–28).
"Between the midwife and the woman in labour, the poor woman's son was lost" is a proverb: each waits for the other, and a third perishes.
Yiftach (Jephthah) judged Israel six years (Shoftim / Judges 12:7).