Leviticus 18:30 in the King James Version
Therefore shall ye keep mine ordinance, that ye commit not any one of these abominable customs, which were committed before you, and that ye defile not yourselves therein: I am the LORD your God.
Context
29 “‘For whoever shall do any of these abominations, even the souls that do them shall be cut off from among their people.
30 Therefore you shall keep my requirements, that you do not practice any of these abominable customs which were practiced before you, and that you do not defile yourselves with them. I am the LORD your God.’”