Now there was no water for the community, and the people gathered in opposition to Moses and Aaron.
They quarreled with Moses and said, “If only we had died when our brothers fell dead before the LORD!
Why did you bring the LORD’s community into this wilderness, that we and our livestock should die here?
Why did you bring us up out of Egypt to this terrible place? It has no grain or figs, grapevines or pomegranates. And there is no water to drink!”
Moses and Aaron went from the assembly to the entrance to the tent of meeting and fell facedown, and the glory of the LORD appeared to them.
The LORD said to Moses,
“Take the staff, and you and your brother Aaron gather the assembly together. Speak to that rock before their eyes and it will pour out its water. You will bring water out of the rock for the community so they and their livestock can drink.”
So Moses took the staff from the LORD’s presence, just as he commanded him.