Bamidbar / Numbers 23:9
כִּי־מֵרֹאשׁ צֻרִים אֶרְאֶנּוּ וּמִגְּבָעוֹת אֲשׁוּרֶנּוּ הֶן־עָם לְבָדָד יִשְׁכֹּן וּבַגּוֹיִם לֹא יִתְחַשָּׁב׃
For from the top of the rocks I see him, and from the hills I behold him: behold, it is a people that dwells alone, and is not reckoned among the nations.
Pshat פְּשָׁט
A people that dwells alone
Rashi: the "rocks" and "hills" are the fathers and mothers on whom the people stands firm, as on stone. The people will not vanish together with the others, and its joy belongs to it alone. Ramban: Bilam (Balaam) sees not a gathering of tribes but one people with one Torah, which dwells alone under the names Yaakov (Jacob) and Israel, and will always dwell so.
How Rashi and Ramban explain it
Remez רֶמֶז
Heights and beginning
Ba'al HaTurim: "for from the top" in the numerical value of its letters equals "on Mount Moriah", and "from the top of the rocks" equals "by the merit of the fathers". "Alone" equals forty: the people will dwell in the Land of Israel, which one crosses in forty days. Kedushat Levi: "from the top" (מֵרֹאשׁ) hints at "first fruit" (רֵאשִׁית), a name of Israel: the world was created for its sake, and how can one curse a people for whom everything was made?
How Kitzur Ba'al HaTurim and Kedushat Levi explain it
Drash דְּרָשׁ
The axe at the roots
The midrash: Bilam (Balaam) decided not to curse each tribe separately but to strike at the roots, at the fathers and the mothers. He came and found the roots hard as rock. And "a people that dwells alone" means: the nations have no part in the joy of Israel, and what Israel eats together with the nations in their good days is not counted against it.
How Midrash Tanchuma (Buber) explain it
Sod סוֹד
The rest of oneness
The Sefat Emet: the chief longing of Israel is to dissolve itself before the Eternal, and in this is its rest, and the sign of that rest is Shabbat. All the deeds of the week only prepare for it. So this world is secondary for Israel and "is not reckoned", and it cannot be cursed: it seeks not its own good but oneness with the One. "Behold" (הֵן) means "one": only Israel can come to oneness, and the Eternal chooses it anew every day.
How Sefat Emet explain it