The Lord said to Moses, 2 “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. The members of the community are to stone him. 3 I myself will set my face against him and will cut him off from his people; for by sacrificing his children to Molek, he has defiled my sanctuary and profaned my holy name. 4 If the members of the community close their eyes when that man sacrifices one of his children to Molek and if they fail to put him to death, 5 I myself will set my face against him and his family and will cut them off from their people together with all who follow him in prostituting themselves to Molek.
The Lord said to Moses, 2 “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. The members of the community are to stone him. 3 I myself will set my face against him and will cut him off from his people; for by sacrificing his children to Molek, he has defiled my sanctuary and profaned my holy name. 4 If the members of the community close their eyes when that man sacrifices one of his children to Molek and if they fail to put him to death, 5 I myself will set my face against him and his family and will cut them off from their people together with all who follow him in prostituting themselves to Molek.
https://www.biblegateway.com/passage/?search=Leviticus%2020&version=NIV