She said to him, My father, you have opened your mouth to Yahweh; do to me according to that which has proceeded out of your mouth, because Yahweh has taken vengeance for you on your enemies, even on the children of Ammon.
Jephthah may have known God’s will but simply chose to disregard it.