The entire Israelite community entered the Wilderness of Zin in the first month, and they settled in Kadesh. Miriam died and was buried there.
There was no water for the community, so they assembled against Moses and Aaron.
The people quarreled with Moses and said, "If only we had perished when our brothers perished before the Lord.
Why have you brought the Lord's assembly into this wilderness for us and our livestock to die here?
Why have you led us up from Egypt to bring us to this evil place? It's not a place of grain, figs, vines, and pomegranates, and there is no water to drink!"
Then Moses and Aaron went from the presence of the assembly to the doorway of the tent of meeting. They fell down with their faces [to the ground], and the glory of the Lord appeared to them.
The Lord spoke to Moses,
"Take the staff and assemble the community. You and your brother Aaron are to speak to the rock while they watch, and it will yield its water. You will bring out water for them from the rock and provide drink for the community and their livestock."
So Moses took the staff from the Lord's presence just as He had commanded him.
Moses and Aaron summoned the assembly in front of the rock, and Moses said to them, "Listen, you rebels! Must we bring water out of this rock for you?"
Then Moses raised his hand and struck the rock twice with his staff, so that a great amount of water gushed out, and the community and their livestock drank.
But the Lord said to Moses and Aaron, "Because you did not trust Me to show My holiness in the sight of the Israelites, you will not bring this assembly into the land I have given them."
These are the waters of Meribah, where the Israelites quarreled with the Lord, and He showed His holiness to them.