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 18:29
18:29 For if anyone does any of these abominations, the persons who do them will be cut off from the midst of their people.