Miriam’s death (verse 20:1) is juxtaposed with another water crisis:
The community was without water, and they joined against Moses and Aaron. The people quarrelled with Moses, saying, “If only we had perished when our brothers perished at the instance of YHVH!…” (Numbers/Bamidbar 20:2-3)
This juxtaposition is one of the sources for the concept of “Miriam’s Well,” a movable source of water that followed the Israelites due to Miriam’s merit. (The cloud of glory, accompanying the Ark, was in Aaron’s merit; the manna, in Moses’ [Talmud tractate Ta’anit 9a].) For more on Miriam’s Well — including 15 traditional sources and one modern study — see entry #496 in Tree of Souls by Howard Schwartz (Oxford University Press, 2004).