Leviticus 18:29-30 (YLT)
29 for any one who doth any of all these abominations--even the persons who are doing so, have been cut off from the midst of their people;
30 and ye have kept My charge, so as not to do any of the abominable statutes which have been done before you, and ye do not defile yourselves with them; 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