Seems you see context as "silly excuses".
You are quoting the book of Judges. The whole point of that book is an exposé on what happens when people abandon God and turn to paganism. Don't believe me?
Judges 17:6
In those days there was no king in Israel. Everyone did what was right in his own eyes.
And the conclusion is exactly the same.
Judges 21:25
In those days there was no king in Israel. Everyone did what was right in his own eyes.
The whole book of Judges is essentially "Here's what not to do".
Not once did God command him to offer up his daughter. He decided to try and work for God's support, and to try and earn it. But it bit him back harshly. The Bible quite early on differentiates itself from other pagan religions (which Israel was infected with when Judges was written)
Genesis 22:10-13
Then Abraham reached out his hand and took the knife to slaughter his son. But the angel of the Lord called to him from heaven and said, “Abraham, Abraham!” And he said, “Here I am.” He said, “Do not lay your hand on the boy or do anything to him, for now I know that you fear God, seeing you have not withheld your son, your only son, from me.” And Abraham lifted up his eyes and looked, and behold, behind him was a ram, caught in a thicket by his horns. And Abraham went and took the ram and offered it up as a burnt offering instead of his son.
The precedent here is set that man should not use humans as a sacrifice. There is no point, as humans are both made in God's image and are already God's, and are also tarnished with sin, so aren't even an acceptable sacrifice. The only human sacrifice acceptable is God Himself - Who became man and took up His cross and sacrificed Himself for us.