And they burned their sons and their daughters as offerings and used divination and omens and sold themselves to do evil in the sight of YHWH, provoking him to anger.
2 Kings 17:17

So many of God's commandments involve teaching proper worship and obedience to your children. Even if this verse only describes dedicating children to false gods, it was the worst kind of sin against YHWH.