Bamidbar24:17

אֶרְאֶנּוּ וְלֹא עַתָּה אֲשׁוּרֶנּוּ וְלֹא קָרוֹב דָּרַךְ כּוֹכָב מִיַּעֲקֹב וְקָם שֵׁבֶט מִיִּשְׂרָאֵל וּמָחַץ פַּאֲתֵי מוֹאָב וְקַרְקַר כָּל־בְּנֵי־שֵׁת׃

I see him, but not now, I behold him, but not near. A star has stepped forth out of Yaakov, and a sceptre has risen out of Israel, and it shall crush the corners of Moav, and break down all the children of Shet (Seth).

Bamidbar 24:17

אֶרְאֶנּוּ וְלֹא עַתָּה

Bamidbar / Numbers 24:17 · Pshat

Bamidbar 24:17

אֶרְאֶנּוּ וְלֹא עַתָּה אֲשׁוּרֶנּוּ וְלֹא קָרוֹב דָּרַךְ כּוֹכָב מִיַּעֲקֹב וְקָם שֵׁבֶט מִיִּשְׂרָאֵל וּמָחַץ פַּאֲתֵי מוֹאָב וְקַרְקַר כָּל־בְּנֵי־שֵׁת׃

I see him, but not now, I behold him, but not near. A star has stepped forth out of Yaakov, and a sceptre has risen out of Israel, and it shall crush the corners of Moav, and break down all the children of Shet (Seth).

Pshat פְּשָׁט

A star from afar

Sometimes you see the future clearly and know you will not live to see it yourself. Bilam looks far ahead and sees a king who is not yet born.

Rashi: Bilam (Balaam) sees the greatness of Yaakov (Jacob), but not now, after a time. The star is good fortune that will rise like a flying arrow, the sceptre is a king, and the one who will crush Moav is David. Ramban: this is the Messiah, who will gather the exiles of Israel from the end of the earth, as a star passes across the sky. Moav will not fall now, but at the end of days it will not escape.

How Rashi and Ramban explain it

Rashi I see him

I see the glory of Yaakov (Jacob) and their greatness, but it is not now, rather after a time.

Rashi A star has stepped forth

As the Targum renders it. The word is of the same root as "He has bent His bow" (Eichah / Lamentations 2:4): the star shoots like an arrow. That is, a mazal (מַזָּל), a lucky star, will rise.

Rashi And a sceptre has risen

A king who rules and governs.

Rashi And it shall crush the corners of Moav

This is David, of whom it says: "and he made them lie down on the ground, and measured two lines to put to death" (Shmuel II / II Samuel 8:2).

Rashi All the children of Shet

All the nations, for they all came from Shet (Seth), the son of the first man.

Ramban A star has stepped forth out of Yaakov

Since the Messiah will gather the dispersed of Israel from the end of the earth, he likens him to a star that passes across the firmament from the end of the heavens, as it says of him: "and behold, with the clouds of heaven came one like a son of man" (Daniel 7:13). And he said that he sees into a distant time: a star will pass from the end of the heavens, and a ruling sceptre will rise from it, and crush the corners of Moav, and break down all the children of Shet, son of Adam, father of all the nations. And he mentioned "the corners of Moav" to let Balak know that his people would not fall into the hands of Israel now, but at the end of days Moav would not escape the sceptre that will rule it. And the sense of "the corners of Moav" is: this sceptre will break down all the children of Shet, and Moav will not escape it, though they live on the edges (קְצוּצֵי פֵאָה), and have no name among the nations, and will not fight Israel.

Takeaway

David defeated Moav: "and he made them lie down on the ground, and measured two lines to put to death, and one full line to keep alive" (Shmuel II / II Samuel 8:2).
Shet (Seth) is the son of Adam and Chava (Eve), born after Hevel (Abel) was killed (Bereshit / Genesis 4:25). All people come from him, for Noach (Noah) is his descendant.
"Clipped at the edges" (קְצוּצֵי פֵאָה) is the prophet's name for the nomads of the desert (Yirmeyahu / Jeremiah 9:25). Ramban hears it in the words "the corners of Moav" (פַּאֲתֵי מוֹאָב).
Mazal (מַזָּל) is a star of destiny, the fortune that falls to a person or a people.