Bamidbar23: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.

Bamidbar 23:9

כִּי־מֵרֹאשׁ צֻרִים אֶרְאֶנּוּ

Bamidbar / Numbers 23:9 · Remez

Bamidbar 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.

Remez רֶמֶז

Heights and beginning

Sometimes one word holds a whole story. The sages count the letters in Bilam's words and find in them Mount Moriah, the Land of Israel and the beginning of the world.

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

Kitzur Ba'al HaTurim For from the top

"For from the top" (כִּי מֵרֹאשׁ) in the numerical value of its letters is "on Mount Moriah" (עַל הַר הַמּוֹרִיָּה). "From the top of the rocks" (מֵרֹאשׁ צֻרִים) in the numerical value of its letters is "by the merit of the fathers" (מִזְּכוּת אָבוֹת).

Kitzur Ba'al HaTurim Alone

"Alone" (לְבָדָד) adds up to forty. This tells you that he will dwell in the Land of Israel, which is a journey of forty days.

Kedushat Levi For from the top of the rocks I see him

Explanation: I see them from the top of the rocks, that is, from the way the world is made. "From the hills I behold him": the world, the rocks and hills of which Rashi speaks, came to be and were created for the sake of Israel, as our sages said: "In the beginning" (בְּרֵאשִׁית): for the sake of Israel, who is called "first fruit" (רֵאשִׁית). That is why the verse ends: "and is not reckoned among the nations". In creating the world the Eternal, blessed is He, did not think of the nations, to create for their sake, but only for Israel. How then can one curse such a people, for whose sake everything was created?

Takeaway

The numerical value of the letters: every Hebrew letter has a number, alef (א) is 1, bet (ב) is 2, and the last letters reach 400. "For from the top" (כִּי מֵרֹאשׁ) and "on Mount Moriah" (עַל הַר הַמּוֹרִיָּה) both give 571.
"Alone" (לְבָדָד): lamed (ל) 30, bet (ב) 2, dalet (ד) 4 and dalet (ד) 4 again, 40 in all. The second pair, "from the top of the rocks" and "by the merit of the fathers", matches with a difference of one: such counts often add one for the word as a whole.
Mount Moriah is where Avraham bound Yitzchak (Isaac) (Bereshit / Genesis 22:2).
"Israel is holy to the Eternal, the first fruit of His harvest" (Yirmeyahu / Jeremiah 2:3). The sages lean on this verse when they read "in the beginning" as "for the sake of the first fruit".