Leviticus 18:24-28

ERV(i) 24 Defile not ye yourselves in any of these things: for in all these the nations are defiled which I cast out from before you: 25 And the land is defiled: therefore I do visit the iniquity thereof upon it, and the land vomiteth out her inhabitants. 26 Ye therefore shall keep my statutes and my judgments, and shall not do any of these abominations; neither the homeborn, nor the stranger that sojourneth among you: 27 (for all these abominations have the men of the land done, which were before you, and the land is defiled;) 28 that the land vomit not you out also, when ye defile it, as it vomited out the nation that was before you.