Leviticus 18:29-30 (ASV)
29 For whosoever shall do any of these abominations, even the souls that do them shall be cut off from among their people.
30 Therefore shall ye keep my charge, that ye practise not any of these abominable customs, which were practised before you, and that ye defile not yourselves therein: I am Jehovah your God.
About Leviticus 18: Leviticus 18 stands between the laws for priests in chapter sixteen and the yearly feasts in chapter twenty-three. It speaks to all Israelites, not just the priesthood. Moses records these commands at Sinai, shortly after the tabernacle was built. The people had left Egypt, a place of idolatry and strange customs. God wants them to look different from the nations around them. Verse four says they must not do what Egypt or Canaan did. Read the study notes
2 verses · Compare in parallel · Read all of Leviticus 18