Do not make yourselves unclean in any of these ways because that is how the nations that I am throwing out before you became unclean.
References for Leviticus 18:24
That is also how the land became unclean, and I held it liable for punishment, and the land vomited out its inhabitants.
But all of you must keep my rules and my regulations. You must not do any of these detestable things, neither citizen nor immigrant who lives with you (
because the people who had the land before you did all of these detestable things and the land became unclean),
so that the land does not vomit you out because you have made it unclean, just as it vomited out the nations that were before you.
Anyone who does any of these detestable things will be cut off from their people.
You must keep my requirement of not doing any of the detestable practices that were done before you arrived so that you don't make yourselves unclean by them; I am the LORD your God.
References for Leviticus 18:30