The second example is Jephthah and his daughter (Judges 11:29-40).
Then the Spirit of the LORD was upon Jephthah, and he passed through Gilead and Manasseh and passed on to Mizpah of Gilead, and from Mizpah of Gilead he passed on to the Ammonites. 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.”
Nowadays, since we’re groomed to think of human sacrifice as barbaric, later interpretations of the story often revolve around the presumed rashness of Jephthah’s vow that ended up taking the life of his daughter. (This has been the common line of interpretation since pseudo-Philo and Josephus: Josephus blames the daughter for rushing out to meet Jephthah - while reassuring his audience that the sacrifice “was never sanctioned by the law nor well-pleasing to God”

- while pseudo-Philo blames Jephthah for making such a rash vow and presents it as a divine punishment for Jephthah’s foolishness.)
Some people even whitewash the story by saying that Jephthah never really sacrificed his daughter but just ‘dedicated’ her to God as a sort of virgin. But this ‘bloodless’ intepretation of the story is very late (it only pops up in the Middle Ages - one of the first to suggest this idea is the 12th-13th century French rabbi David Kimhi; all the earlier writers by contrast understood the story to refer to Jephthah literally sacrificing his own daughter), not to mention that the line of thinking in this interpretation is somewhat suspicious: it
conveniently smoothens out the difficulty of Jephthah offering up his daughter as a “burnt offering” (so his original vow), which one could argue is really the natural way to interpret the text.
Besides, IMHO this ‘lifelong virgin’ doesn’t work because the OT text itself seems to draw a parallel between Abraham and Isaac and Jephthah and his daughter: both children were (to be) sacrificed by their fathers, and both are referred to as an “only child” (Genesis 22:2
yeḥideka; Judges 11:34
yeḥidah). But unlike Isaac’s case, Jephthah succeeds in sacrificing his daughter.
The text simply narrates the event in a matter-of-fact way: there is no condemnation (nor any explicit approval, for that matter) for Jephthah’s actions. Rather, it is the function of the sacrifice that appears to receive attention. Some commentators notice that both Abraham’s and Jephthah’s human sacrifices to Yhwh are tied up to potential fertility: the only-begotten child is a symbol of that. Because Abraham is willing to sacrifice Isaac, God makes good on His promise to give him descendants; as for Jephthah’s daughter, her status as a
betulah, a virgin (a female who had reached puberty but had yet to bear a child), makes her a symbol of fertility.
It seems that in its original context, the logic of the story is that a vow made to a god is more valuable than anything, even a human life. Note that Jephthah’s daughter in the narrative affirms the system: “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.” She doesn’t protest at the prospect that her father will sacrifice her; in fact, she simply asks that she be given time to mourn her virginity.
If you read carefully, even Jephthah doesn’t really question the prospect of sacrificing a
human to Yhwh. A few commentators even think that Jephthah had in mind
a person when he vowed to sacrifice “whatever/whoever comes out from the doors of my house to meet me;” because it’s not always that an animal would come out of your house

So he’s not much shocked that
a human being greeted him when he came home (rather than an animal or something), but more because that the human who greeted him happened to be his daughter. The story is tragic not because a human sacrificed another human being (which is how we might read it today), but because a father sacrificed his only daughter.
In fact, in both stories the narrative revolves around the fathers - Abraham and Jephthah; the children are simply secondary characters. Both stories revolve around two men who demonstrated their faith in God, even if in a rather grisly way: Abraham by doing what God asked him to, Jephthah by making good on his vow to the Lord.