Bamidbar / Numbers 21:17 · Drash
אָז יָשִׁיר יִשְׂרָאֵל אֶת־הַשִּׁירָה הַזֹּאת עֲלִי בְאֵר עֱנוּ־לָהּ׃
Then Israel sang this song: "Spring up, O well! Sing to it!
Drash דְּרָשׁ
A feast without a friend
Sometimes one person is missing from a celebration, and it is no longer the same. At the song by the well, two are missing.
Midrash Tanchuma: the well went down into the stream so that the people would learn of the miracles, and Israel sang. But the song has neither Moshe (Moses) nor the name of the Eternal. Moshe was punished over the water, and no one praises his executioner. And the Eternal, like a king who will not go to a feast where his friend is absent, did not wish to be mentioned without Moshe.
How Midrash Tanchuma (Buber) explain it
Midrash Tanchuma (Buber) And from there to Be'er
Was the well from there? It had been with them from the start of the fortieth year! But it went down to make the miracles known. And Israel stood by the streams and said to it: "Spring up, O well! Sing to it!", and they said a song about it.
Midrash Tanchuma (Buber) Then Israel sang
Why is Moshe (Moses) not mentioned there? Because he was punished over the water, and no one praises his own executioner. And why is the name of the Holy One, blessed is He, not mentioned there? It is like a governor who made a feast for the king. The king asked: "Will my friend so-and-so be there?" They told him: "No." The king said: "Then I will not go there either." So here too the Holy One, blessed is He, said: since Moshe is not mentioned, I too will not be mentioned there.
Takeaway
Moshe (Moses) was punished at the waters of Merivah: he would not bring the people into the land (Bamidbar / Numbers 20:12).
In the song at the well (Bamidbar / Numbers 21:17–18) there is neither Moshe's name nor the name of the Eternal.
"Executioner" (סְפֶקְלָטוֹר) is a Latin word in the language of the midrash.