In the Hebrew Bible, Moloch is presented as a foreign deity who was at times illegitimately given a place in Israel’s worship as a result of the syncretistic policies of certain apostate kings. The laws given to Moses by God expressly forbade the Jews to do what was done in Egypt or in Canaan. “You shall not give any of your children to devote them by fire to Moloch, and so profane the name of your God” (Leviticus 18:21). Yet kings such as Ahaz (2 Kings 16:3) and Manasseh (2 Kings 21:6), having been influenced by the Assyrians, are reported to have worshipped Moloch at the hilled site of Topheth, outside the walls of Jerusalem. This site flourished under Manasseh’s son King Amon but was destroyed during the reign of Josiah, the reformer. “And he defiled Topheth, which is in the valley of the sons of Hinnom, that no one might burn his son or his daughter as an offering to Moloch” (2 Kings 23:10).
https://www.britannica.com/topic/Moloch-ancient-god