Bamidbar22:12

וַיֹּאמֶר אֱלֹהִים אֶל־בִּלְעָם לֹא תֵלֵךְ עִמָּהֶם לֹא תָאֹר אֶת־הָעָם כִּי בָרוּךְ הוּא׃

And the Almighty said to Bilam: "You shall not go with them, you shall not curse the people, for they are blessed."

Bamidbar 22:12

וַיֹּאמֶר אֱלֹהִים אֶל־בִּלְעָם

Bamidbar / Numbers 22:12

וַיֹּאמֶר אֱלֹהִים אֶל־בִּלְעָם לֹא תֵלֵךְ עִמָּהֶם לֹא תָאֹר אֶת־הָעָם כִּי בָרוּךְ הוּא׃

And the Almighty said to Bilam: "You shall not go with them, you shall not curse the people, for they are blessed."

Pshat פְּשָׁט

Do not go with them

Sforno: even without a curse Bilam (Balaam) must not go, so as not to cast an evil eye on the people. Chizkuni: the Almighty knew there would be a plague over Baal Peor and did not want the world to credit it to Bilam's curse. Netziv: with them Bilam would have travelled the King's Road and seen the people, but going to Balak at all He did not forbid.

How Sforno, Chizkuni, and Haamek Davar explain it

Remez רֶמֶז

Not the slightest harm

Ba'al HaTurim: Bilam (Balaam) asked "curse for me" (קָבָה), and the Almighty answered with another word, "do not curse" (תָאֹר), and forbade even the slightest harm. Netziv: "do not curse" means without an evil eye, and "they are blessed" means that those who curse them will be cut off.

How Kitzur Ba'al HaTurim and Haamek Davar explain it

Drash דְּרָשׁ

Neither honey nor sting

The midrash: Bilam (Balaam) offers to curse the people from where he is, and then to bless them. The Almighty answers: the people do not need his blessing, as people say to the wasp: "Neither your honey nor your sting." The Talmud brings this verse to show that a person is led on the road he wants to go: first "do not go", and then "go".

How Midrash Tanchuma (Buber) and Talmud, Makkot explain it

Sod סוֹד

The hidden blessing

Sefat Emet: Bilam (Balaam) saw the blessings that nations receive by mazal (מַזָּל), while the children of Israel are the very root of blessing. Like Shabbat, which has no earnings in it and yet all blessings depend on it, their blessing is not seen in this world. The Eternal gives it from a hidden place, and the people have two sides: hidden and revealed.

How Sefat Emet explain it