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

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

Drash דְּרָשׁ

Neither honey nor sting

You refuse someone one thing, and at once they offer another: "Well then, at least this way." Bilam bargains with the Almighty as in a market.

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

Midrash Tanchuma (Buber) And the Almighty said to Bilam: "Do not go with them."

Bilam (Balaam) said to Him: "If so, I will curse them from where I am." The Almighty said to him: "Do not curse the people." Bilam said: "Then I will bless them." The Almighty said to him: "They do not need your blessing, for they are blessed." A parable: people say to the wasp: "Neither your honey nor your sting."

Talmud, Makkot Do not go with them

From the Torah, as it is written: "Do not go with them" (Bamidbar / Numbers 22:12), and it is written: "Rise, go with them" (Bamidbar / Numbers 22:20). From the Prophets, as it is written: "I am the Eternal your Almighty, who teaches you for your benefit, who leads you on the road on which you will go" (Yeshayahu / Isaiah 48:17). From the Writings, as it is written: "If it is toward the scorners, he scorns, but to the humble he gives grace" (Mishlei / Proverbs 3:34).

Takeaway

The wasp gives honey and it stings. The people want neither from Bilam (Balaam): neither his curse nor his blessing.
In the Talmud these three verses prove the thought stated before them: "From the Torah, from the Prophets and from the Writings it is seen: on the road a person wants to go, he is led" (Makkot 10b).
First the Almighty tells Bilam "do not go", and then, when Balak sends princes again, "rise, go with them" (Bamidbar / Numbers 22:20).