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 · Remez

Bamidbar 22:12

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

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

Remez רֶמֶז

Not the slightest harm

Sometimes people ask for "just a little": to give way a bit, to soften slightly. Then "no" means "not even a little". Here such a "no" is heard in one word.

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

Kitzur Ba'al HaTurim Do not curse the people

Bilam (Balaam) said "curse (קָבָה) for me", and the Holy One, blessed is He, answered him: "do not curse (תָאֹר)", not even with the slightest harm.

Haamek Davar Do not curse

That is: without an evil eye.

Haamek Davar For they are blessed

And those who curse them will be cut off.

Takeaway

The word קָבָה is the one Balak uses in his request to Bilam (Bamidbar / Numbers 22:11), and the Almighty answers with the word תָאֹר, from the root אָרַר, "to curse".
"Cursed are those who curse you": Bilam himself will later say this of Israel (Bamidbar / Numbers 24:9).