Leviticus 18:28

28 and then the land will not reject you, as it rejected the pagans who lived there before you.

Leviticus 18:28 Meaning and Commentary

Leviticus 18:28

That the land spew not you out also, when ye defile it
By sinning on it, and so rendering it obnoxious to the curse of God, as the whole earth originally was for the sin of man; and so be cast out of it, as Adam was out of paradise, and as the Israelites might expect to be cast out of Canaan, as the old inhabitants of it had been: as it spewed out the nations that [were] before you;
which for the certainty of it is spoken of as done, though it was as yet future; and what the Lord did is ascribed to the land, the more to aggravate their crying sins and abominations, for which the land mourned, and which it could not bear.

Leviticus 18:28 In-Context

26 They did all these disgusting things and made the land unclean, but you must not do them. All of you, whether Israelites or foreigners living with you, must keep the Lord's laws and commands,
28 and then the land will not reject you, as it rejected the pagans who lived there before you.
29 You know that whoever does any of these disgusting things will no longer be considered one of God's people.
30 And the Lord said, "Obey the commands I give and do not follow the practices of the people who lived in the land before you, and do not make yourselves unclean by doing any of these things. I am the Lord your God."
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.