In Leviticus 18 the Lord states that those that had the promised land before the Israelites had these "abominations" among them:
Marriage of close family members
Then Jehovah makes the interesting conclusion that because those nations defiled themselves with these things, the land itself would vomit them out. He warns that if the Israelites defile themselves with these abominations, the land would also vomit them out. He warns them not even to allow those non-Istraelites that were among them to do these.
Leviticus 18:24 Defile not ye yourselves in any of these things: for in all these the nations are defiled which I cast out before you:
25 And the land is defiled: therefore I do visit the iniquity thereof upon it, and the land itself vomiteth out her inhabitants.
26 Ye shall therefore keep my statutes and my judgments, and shall not commit any of these abominations; neither any of your own nation, nor any 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 spue not you out also, when ye defile it, as it spued out the nations that were before you.
As this is Jehovah speaking, it is of course, Jesus speaking. He is the same yesterday, today, and forever.