Vayikra / Leviticus 20:22
וּשְׁמַרְתֶּם אֶת־כָּל־חֻקֹּתַי וְאֶת־כָּל־מִשְׁפָּטַי וַעֲשִׂיתֶם אֹתָם וְלֹא־תָקִיא אֶתְכֶם הָאָרֶץ אֲשֶׁר אֲנִי מֵבִיא אֶתְכֶם שָׁמָּה לָשֶׁבֶת בָּהּ׃
You shall keep all My statutes and all My judgements and do them, so that the land to which I am bringing you to dwell in it does not vomit you out.
Pshat פְּשָׁט
A land that cannot bear it
Ibn Ezra: "keep all My statutes" means: do not break the prohibitions of intimacy. Chizkuni: it is repeated because above it speaks of life outside the Land of Israel, and here of the Land itself. Malbim: the land in its holiness cannot bear abominable deeds, as a pampered person cannot bear unsuitable food.
How Ibn Ezra, Chizkuni, and Malbim explain it
Remez רֶמֶז
The word "you" comes first
Netziv: even if a generation is unrestrained, the merit of those who study the Torah diligently holds the land back from vomiting them out. So here "you" (אֶתְכֶם) stands before "the land", while above "the land" stands before "you". Rabbeinu Bahya: a statute (חֻקָּה) comes from the quality of "keep" (שָׁמוֹר), so of it the word "keep" is said.
How Haamek Davar and Rabbeinu Bahya explain it
Drash דְּרָשׁ
Statutes without a reason
Midrash Tanchuma: the Torah calls a "statute" that in which one and the same thing is both forbidden and permitted: a brother's wife is forbidden, yet after his death without children she is permitted, mingled cloth is forbidden, yet a linen sheet with tzitzit is permitted, the red cow purifies the impure and makes impure those who deal with it. Lekach Tov: the land is not given simply as an inheritance: the Canaanites were steeped in lewdness and became loathsome to the Eternal.
How Midrash Lekach Tov and Midrash Tanchuma (Buber) explain it
Sod סוֹד
Steps of holiness in the land
Arvei Nachal: the world was founded from the Holy of Holies, and holiness comes down in steps: the Holy of Holies, places for the priests, places for the whole people, and the last step is the Land of Israel. The further from the root, the more mercy, and the more a place can bear. So the Land of Israel cannot bear abominations and vomits them out, while the land of the nations bears them.
How Arvei Nachal explain it