Vayikra / Leviticus 20:26 · Drash
וִהְיִיתֶם לִי קְדֹשִׁים כִּי קָדוֹשׁ אֲנִי יְהוָה וָאַבְדִּל אֶתְכֶם מִן־הָעַמִּים לִהְיוֹת לִי׃
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.
Drash דְּרָשׁ
Stronger than the righteous
It is easy to give up what you do not want. What does it mean to give up what you do want?
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
Midrash Lekach Tov You shall be holy to Me, for I the Eternal am holy, and I have set you apart
If you are set apart from the peoples, you are for My Name, and if not, you belong to the Canaanites. Another explanation: "to be Mine": not to join another with Me, as it says: "to the Eternal alone" (Shemot / Exodus 22:19). Another explanation: "to be Mine" (לִי): that you be busy with My Torah, given in forty (לִי) days. Another explanation: "to be Mine": that you take upon yourselves the yoke of My Kingdom.
Malbim You shall be holy to Me
So it is said also at the end of the prohibitions of food, in the portion "Shemini", and there the Sifra says the same as here. And from the words "and I have set you apart from the peoples" the midrash first expounds "to be Mine": only then will you be My portion and under My Providence, and if not, you will be under the rule of others. And Ibn Ezra noted that this is said a second time, for it was already said: "who has set you apart from the peoples" (Vayikra / Leviticus 20:24). And he explained: "set you apart" speaks of a natural separation, in things that are against human nature, such as giving one's wife to others and the like. And here it speaks of separation by the Torah, in things a person's soul desires. And in this, one who conquers himself is better than a completely righteous man: when the evil inclination urges him to sin and he conquers his inclination for the sake of the Eternal's commandment, he keeps apart from sin by choice and by conquering the inclination, and takes upon himself the yoke of the Kingdom of Heaven. Of this a second time it says "and I have set you apart from the peoples": through the commandments of the Torah. And likewise in the portion "Shemini" a second time it says "you shall be holy to Me" for this reason.
Takeaway
The word "Mine" (לִי) is written with the letters lamed (ל) and yod (י), whose numerical value is 30 and 10, forty together: the days Moshe (Moses) was on the mountain (Shemot / Exodus 24:18).
The full verse: "one who sacrifices to the gods shall be destroyed, to the Eternal alone" (Shemot / Exodus 22:19).
The Talmud: where those who return in repentance stand, the completely righteous cannot stand (Berakhot 34b).