Numbers 20:1-8

1 In the first month the whole community of Israel came into the Desert of Zin, and they stayed at Kadesh. Miriam died and was buried there.
2 Since the community was without water, they came together to confront Moses and Aaron.
3 The people complained to Moses and said, "If only we had died when the other Israelites died in the LORD's presence!
4 Did you bring the LORD's assembly into this desert just to have us and our animals die here?
5 Why did you make us leave Egypt and bring us into this terrible place? This is no place to plant crops. Even figs, grapes, and pomegranates won't grow here. And there's no water to drink!"
6 Moses and Aaron went from the assembly to the entrance of the tent of meeting. Immediately, they bowed with their faces touching the ground, and the glory of the LORD appeared to them.
7 The LORD said to Moses,
8 "Take your staff, then you and your brother Aaron gather the community. Right before their eyes, tell the rock to give up its water. In this way you will give the community water from the rock for them and their animals to drink."