The Israelites, the whole congregation, came into the wilderness of Zin in the first month, and the people stayed in Kadesh. Miriam died there, and was buried there.
Now there was no water for the congregation; so they gathered together against Moses and against Aaron.
The people quarreled with Moses and said, "Would that we had died when our kindred died before the Lord!
Why have you brought the assembly of the Lord into this wilderness for us and our livestock to die here?
Why have you brought us up out of Egypt, to bring us to this wretched place? It is no place for grain, or figs, or vines, or pomegranates; and there is no water to drink."
Then Moses and Aaron went away from the assembly to the entrance of the tent of meeting; they fell on their faces, and the glory of the Lord appeared to them.
The Lord spoke to Moses, saying:
Take the staff, and assemble the congregation, you and your brother Aaron, and command the rock before their eyes to yield its water. Thus you shall bring water out of the rock for them; thus you shall provide drink for the congregation and their livestock.
So Moses took the staff from before the Lord, as he had commanded him.
Moses and Aaron gathered the assembly together before the rock, and he said to them, "Listen, you rebels, shall we bring water for you out of this rock?"
Then Moses lifted up his hand and struck the rock twice with his staff; water came out abundantly, and the congregation and their livestock drank.
But the Lord said to Moses and Aaron, "Because you did not trust in me, to show my holiness before the eyes of the Israelites, therefore you shall not bring this assembly into the land that I have given them."
These are the waters of Meribah, where the people of Israel quarreled with the Lord, and by which he showed his holiness.