Vayikra / Leviticus 20:7
וְהִתְקַדִּשְׁתֶּם וִהְיִיתֶם קְדֹשִׁים כִּי אֲנִי יְהוָה אֱלֹהֵיכֶם׃
Sanctify yourselves and be holy, for I am the Eternal your Almighty.
Pshat פְּשָׁט
Sanctify yourselves
Rashi: "sanctify yourselves" means: keep apart from the idol worship spoken of above. Sforno: keep apart from forbidden intimacy. Ibn Ezra: it is repeated to include the strangers living among the people: they too must be holy, for they live in a holy land.
How Rashi, Ibn Ezra, and Sforno explain it
Remez רֶמֶז
Three steps of holiness
Netziv: elsewhere it says "for I am holy", and here "for I am the Eternal your Almighty". There it speaks of holiness in eating, and here of cleaving to the Eternal, and if you sanctify yourselves, you will be helped from Heaven. Malbim: holiness has steps: keeping apart from forbidden food, from forbidden intimacy and, highest of all, from belief in empty things, in wizards and those who call up the dead.
How Haamek Davar and Malbim explain it
Drash דְּרָשׁ
Holiness at the table
Lekach Tov: if you sanctify yourselves a little, the Eternal sanctifies you a great deal. And the Talmud reads the verse as the order of an ordinary meal: "sanctify yourselves" is the first water for the hands, "be holy" is the last water, after the meal, "for holy" is the oil for the hands, "I am the Eternal your Almighty" is the blessing.
How Midrash Lekach Tov and Talmud, Berakhot explain it
Sod סוֹד
Holiness as a promise
Mei HaShiloach: "sanctify yourselves" is a command to fence oneself off from the forbidden, and "be holy" is a promise: purifying the heart is not in a person's power, it is done by the Eternal's help. Ohev Yisrael: the Eternal contracts His holiness to the strength of each creature, so it comes and recedes. But a person can cleave to Him always.
How Mei HaShiloach and Ohev Yisrael explain it