The book of Jeremiah says the Jews put their kids through the fire, a sacrifice to Moloch.
Notice it says "through the fire" not "into the fire" meaning a cleansing not sacrifice. They were not burned but passed through by adults holding them. It was a rite of cleansing albeit a dangerous one for both.
However -
"As a god worshipped by the Phoenicians and Canaanites, Moloch had associations with a particular kind of propitiatory child sacrifice by parents. Moloch figures in the Book of Deuteronomy and in the Book of Leviticus as a form of idolatry (Leviticus 18:21: "And thou shalt not let any of thy seed pass through the fire to Moloch"). In the Old Testament, Gehenna was a valley by Jerusalem, where apostate Israelites and followers of various Baalim and Caananite gods, including Moloch, sacrificed their children by fire (2 Chr. 28:3, 33:6; Jer. 7:31, 19:26)."