No.
God’s law says you shouldn’t sacrifice your children to Molek, and if you do, you can be stoned to death. It also says not to sacrifice your sons and daughters in the fire at all. Not even as a way of worshiping God, because God hates it when people worship their gods that way. Whenever God’s people and kings do sacrifice their children, the Bible generally says that what they’re doing is detestable and evil and makes God angry.
God told Jeremiah repeatedly that it had never even occurred to him to command people to do such a detestable thing as to burn their children in the fire. God told Ezekiel that his people were defiling themselves with this bloodshed. Hosea says God threatened to destroy his people for sinning by offering human sacrifices. And Micah didn’t seem to think God wanted him to offer his firstborn, or anything else, for that matter. David too claims that God doesn’t desire sacrifices and offerings at all.
Yes.
But obviously David and Micah were wrong to think that God didn’t want sacrifices. God’s laws demand loads of those. And sometimes he even demands that people sacrifice their children to him.
God told Abraham to sacrifice his son as a burnt offering. In this case, God didn’t let him actually do it, but Abraham did obediently try to kill his son. And God was very pleased that Abraham did everything he told him to do. The Bible calls Abraham righteous for trying to kill his son. God was so pleased by Abraham trying to murder his son that he promised to bless Abraham and his descendants.
God’s law says you should give your firstborn son to God, doing the same thing with him that you would do with the firstborn of your cattle or sheep. Which would be to kill it and eat it in a sacrifice ritual.
Jephthah made a bafflingly idiotic vow that was obviously going to result in him making a family member into a sacrifice to God, as long as God made him successful in war. If God didn’t want that to happen, he would have made Jephthah unsuccessful. Or he would have at least warned Jephthah’s daughter not to meet him at the door. But God didn’t do any of that. Instead, God fulfilled his end of the vow, thereby forcing Jephthah to sacrifice his daughter. And unlike with Abraham, God didn’t even stop him at the last minute this time.
God later decided to give intentionally give his people bad laws, for some reason. Laws like “the sacrifice of every firstborn“. Even God thinks this is a bad law, but since this is what God has commanded, it must be what you should do.
God even demonstrated his righteousness by sacrificing his own son as a sin offering. The Bible says God is perfect, and everything he does is right. So we should follow his example and sacrifice our own sons. The Bible says we should love one another the way God loved us, which was by sacrificing his son for us.