Leviticus 18:3

18:3 You must not do as they do in the land of Egypt where you have been living, and you must not do as they do in the land of Canaan into which I am about to bring you; you must not walk in their statutes.

Leviticus 18:26-27

18:26 You yourselves must obey my statutes and my regulations and must not do any of these abominations, both the native citizen and the resident foreigner in your midst, 18:27 for the people who were in the land before you have done all these abominations, and the land has become unclean.

Leviticus 20:23

20:23 You must not walk in the statutes of the nation which I am about to drive out before you, because they have done all these things and I am filled with disgust against them.

Deuteronomy 18:9-12

Provision for Prophetism

18:9 When you enter the land the Lord your God is giving you, you must not learn the abhorrent practices of those nations. 18:10 There must never be found among you anyone who sacrifices his son or daughter in the fire, anyone who practices divination, an omen reader, a soothsayer, a sorcerer, 18:11 one who casts spells, one who conjures up spirits, a practitioner of the occult, or a necromancer. 18:12 Whoever does these things is abhorrent to the Lord and because of these detestable things the Lord your God is about to drive them out from before you.