Leviticus 18:27

27 for all these things were done by the people who lived in the land before you, and the land became defiled.

Leviticus 18:27 in Other Translations

KJV
27 (For all these abominations have the men of the land done, which were before you, and the land is defiled;)
ESV
27 (for the people of the land, who were before you, did all of these abominations, so that the land became unclean),
NLT
27 “All these detestable activities are practiced by the people of the land where I am taking you, and this is how the land has become defiled.
MSG
27 The people who lived in this land before you arrived did all these things and polluted the land.
CSB
27 For the men who were in the land prior to you have committed all these abominations, and the land has become defiled.

Leviticus 18:27 Meaning and Commentary

Leviticus 18:27

For all these abominations have the men of the land done
The then present inhabitants of Canaan, who dwelt in it before the Israelites came into it; these were guilty of unclean copulations, of incestuous, marriages, of fornication and adultery, and of bestiality and idolatry: which [were] before you;
lived in the land before them, had long dwelt there, but now about to be cast out for their sins; and therefore they who were going to succeed them should take warning by them, lest, committing the same sins, they should be cast out likewise: and the land is defiled; (See Gill on Leviticus 18:25).

Leviticus 18:27 In-Context

25 Even the land was defiled; so I punished it for its sin, and the land vomited out its inhabitants.
26 But you must keep my decrees and my laws. The native-born and the foreigners residing among you must not do any of these detestable things,
27 for all these things were done by the people who lived in the land before you, and the land became defiled.
28 And if you defile the land, it will vomit you out as it vomited out the nations that were before you.
29 “ ‘Everyone who does any of these detestable things—such persons must be cut off from their people.
Scripture quoted by permission.  Quotations designated (NIV) are from THE HOLY BIBLE: NEW INTERNATIONAL VERSION®.  NIV®.  Copyright © 1973, 1978, 1984, 2011 by Biblica.  All rights reserved worldwide.