Leviticus 18:27-28
18:27 for the people who were in the land before you have done all these abominations, and the land has become unclean.
18:28 So do not make the land vomit you out because you defile it just as it has vomited out the nations that were before you.