Moses
Numbers 21:17BSB·traditional attribution

Then Israel sang this song: “Spring up, O well, all of you sing to it!

Matthew Henry Presbyterian @wholebiblehenry

We have here an account of the several stages and removals of the children of Israel, till they came into the plains of Moab, out of which they at length passed over Jordan into Canaan, as we read in the beginning of Joshua. Natural motions are quicker the nearer they are to their centre.

Commenting on Numbers 21:10-20

John Gill Reformed Baptist @doctorgill

The princes digged the well,.... The princes and heads of the several tribes: the nobles of the people digged it; the seventy elders, according to the Targum of Jonathan: by the direction of the lawgiver; either the Lord himself, the lawgiver of his people, who pointed out the spot, and directed the princes where to dig, that is, be did this by Moses; and who...

Jamieson-Fausset-Brown Reformed @jfbcommentary

Then Israel sang--This beautiful little song was in accordance with the wants and feelings of travelling caravans in the East, where water is an occasion both of prayer and thanksgiving. From the princes using their official rods only, and not spades, it seems probable that this well was concealed by the brushwood or the sand, as is the case with many wells in Idumea still.