The passage mean the exact opposite of what you're claiming it means.Bret Ripley wrote:And not just animals: in Ezekiel 20:25-26 YHWH explains why he commanded his people to sacrifice their own children -- 'Moreover I gave them statutes that were not good and ordinances by which they could not have life; and I defiled them through their very gifts in making them offer by fire all their first-born, that I might horrify them; I did it that they might know that I am the Lord.'
Let’s start with one of foundational passages of the Old Testament. God tests Abraham by commanding him to sacrifice Isaac. But when Abraham obeys, God provides a lamb in his place. Gen 22
The people were not to imitate Canaanite child sacrifice. “Say to the Israelites: ‘Any Israelite or any foreigner residing in Israel who sacrifices any of his children to Molek is to be put to death.” Lev 20:2
Ezekiel 16 lists detestable practices. One of them, in verse 20, is sacrificing their children as food to the idols.
Ezekiel 20 lists the rebellion of the people against God:
8 “‘But they rebelled against me and would not listen to me; they did not get rid of the vile images they had set their eyes on, nor did they forsake the idols of Egypt."
13 “‘Yet the people of Israel rebelled against me in the wilderness. They did not follow my decrees but rejected my laws."
21 “‘But the children rebelled against me: They did not follow my decrees, they were not careful to keep my laws, of which I said, “The person who obeys them will live by them,” and they desecrated my Sabbaths."
26 I defiled them through their gifts—the sacrifice of every firstborn—that I might fill them with horror so they would know that I am the LORD.’
27 “Therefore, son of man, speak to the people of Israel and say to them, ‘This is what the Sovereign LORD says: In this also your ancestors blasphemed me by being unfaithful to me: 28 When I brought them into the land I had sworn to give them and they saw any high hill or any leafy tree, there they offered their sacrifices, made offerings that aroused my anger, presented their fragrant incense and poured out their drink offerings.
Sacrificing their children was part of their rebellion against God. God rejected their gifts in verse 26 of their children. Note that it was part of the people being unfaithful to God. The firstfruits are produce not children (Deut 26:2). I could other passages, but these should suffice to prove my point.