And because he was not a man of Torah, he lost his daughter. And so it says, "The fruit of the righteous is a tree of life" (Proverbs 11:30): even though a man is righteous, if he does not engage in Torah he has nothing in his hand, for it is from the Torah that one learns how to redeem souls. His daughter said to him: Perhaps it is written in the Torah that they should offer up human souls? Is it not written, "of the animal, of the herd" (Leviticus 1:2)? He said to her: My daughter, I vowed, "whatever comes forth" (Judges 11:31). She said to him: Jacob our father, who vowed, "of all that You give me I will surely tithe to You" (Genesis 28:22), and the Holy One, blessed be He, gave him twelve tribes, did he offer up one of them? And he did not listen to her. She said to him: Let me be, and I will go to the court; perhaps they will find an opening for your vow, as it is said, "Let me alone for two months" (Judges 11:37). Rabbi Levi ben Berekhya said: Now, does a person go down upon the mountains? Surely one goes up upon the mountains! Rather, what is "and I will go down"? It means I will go down to the Sanhedrin, as it is said, "Hear, O mountains, the controversy of the LORD" (Micah 6:2).
Because Jephthah Lacked Torah He Lost His Daughter
Yalkut Shimoni on Nach 67:3
ולפי שלא היה בן תורה אבד את בתו. וכה"א פרי צדיק עץ חיים, אע"פ שאדם צדיק אם אינו עוסק בתורה אין בידו כלום שמתוך התורה הוא לומד היאך הוא לוקח נפשות. אמר לו בתו שמא כתוב בתורה שיקריבו נפשות והלא כתיב מן הבהמה מן הבקר, אמר לה בתי נדרתי והיה היוצא. א"ל יעקב אבינו שנדר וכל אשר תתן לי עשר אעשרנו לך ונתן לו הקב"ה שנים עשר שבטים שמא הקריב אחד מהם, ולא שמע לה. אמרה לו הניחני ואלך אצל בית דין שמא (יד) ימצאו פתח לנדריך שנאמר הרפה ממני שנים חדשים, אמר רבי לוי בן ברכיה וכי יש אדם יורד על ההרים והרי עולים על ההרים אלא מהו וירדתי אצל סנהדרין שנאמר שמעו הרים את ריב ה':