Deuteronomy 18:10 There shall not be found among you anyone who burns his son or his daughter as an offering.
Yet, in Genesis 22:2 God said, "Take your son, your only son, whom you love--Isaac--and go to the region of Moriah. Sacrifice him there as a burnt offering on a mountain I will show you."
Was it a sin for a person to sacrifice his son at the time of Abraham?
Fortunately for Issac, he was saved at the last second. But what about Jephthah sacrificing his daughter in Judges 11?
Judges 11:29-31 Then the Spirit of the Lord came on Jephthah. He crossed Gilead and Manasseh, passed through Mizpah of Gilead, and from there he advanced against the Ammonites. And Jephthah made a vow to the Lord: “If you give the Ammonites into my hands, 31whatever comes out of the door of my house to meet me when I return in triumph from the Ammonites will be the Lord’s, and I will sacrifice it as a burnt offering.”
Was the Spirit of the Lord on Jephthah when he made the vow?
Did God accept Jephthah's burnt offering of his daughter?
Ultimately, as pointed out by Jon L in a comment below, Isaiah 55:9: “For as the heavens are higher than the earth, so are my ways higher than your ways and my thoughts than your thoughts.”
Well, God is God.
1 Samuel 3:18 "He is the LORD; let him do what is good in his eyes."