Vayikra20:26

וִהְיִיתֶם לִי קְדֹשִׁים כִּי קָדוֹשׁ אֲנִי יְהוָה וָאַבְדִּל אֶתְכֶם מִן־הָעַמִּים לִהְיוֹת לִי׃

And you shall be holy to Me, for I the Eternal am holy, and I have set you apart from the peoples to be Mine.

Vayikra 20:26

וִהְיִיתֶם לִי קְדֹשִׁים

Vayikra / Leviticus 20:26

וִהְיִיתֶם לִי קְדֹשִׁים כִּי קָדוֹשׁ אֲנִי יְהוָה וָאַבְדִּל אֶתְכֶם מִן־הָעַמִּים לִהְיוֹת לִי׃

And you shall be holy to Me, for I the Eternal am holy, and I have set you apart from the peoples to be Mine.

Pshat פְּשָׁט

I want to, but my Father forbade it

Ibn Ezra: if you keep all that was commanded, you are holy, for you must follow the One who is holy. Rashi: those set apart from the peoples are His. A person should not say "pork disgusts me", but rather: "I want it, but what can I do, my Father in Heaven has forbidden it to me".

How Ibn Ezra and Rashi explain it

Remez רֶמֶז

An open hand

Mei HaShiloach: in the portion "Shemini" "I" (אָנִי) is written with a kamatz (ָ): there holiness lies in what a person receives, and he holds himself in. Here "I" (אֲנִי) has a patach (ֲ): holiness in giving, for the Eternal opens His hands to all creatures. Netziv: "and I have set apart" (וָאַבְדִּל) is written without the letter yod (י): only the separation in thought, for His Name's sake, is added here.

How Mei HaShiloach and Haamek Davar explain it

Drash דְּרָשׁ

Stronger than the righteous

Lekach Tov: "to be Mine" means: not to set another beside Him, to be busy with His Torah and to take on the yoke of His Kingdom. Malbim: there is a natural separation, from what repels a person anyway, and a separation by the Torah, from what the soul desires. One who conquers his desire for the sake of a commandment is in this better than a completely righteous man.

How Midrash Lekach Tov and Malbim explain it

Sod סוֹד

Picking food out of the waste

Mei HaShiloach: it does not say "I set the peoples apart from you" but "I set you apart from the peoples": this is how food is picked out of waste, and all that bears the name of food remains. Even the least among the people is good. Shem MiShmuel: one comes to the Torah only by fleeing its opposite, and as far as a person sets himself apart from the peoples, so far he comes under the wings of the Presence of the Creator.

How Mei HaShiloach and Shem MiShmuel explain it