Numbers 20:1-13 ESV
And the people of Israel, the whole congregation, came into the wilderness of Zin in the first month, and the people stayed in Kadesh. And Miriam died there and was buried there.
Now there was no water for the congregation. And they assembled themselves together against Moses and against Aaron. And the people quarreled with Moses and said, “Would that we had perished when our brothers perished before the LORD! Why have you brought the assembly of the LORD into this wilderness, that we should die here, both we and our cattle? And why have you made us come up out of Egypt to bring us to this evil 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 from the presence of the assembly to the entrance of the tent of meeting and fell on their faces. And the glory of the LORD appeared to them, and the LORD spoke to Moses, saying, “Take the staff, and assemble the congregation, you and Aaron your brother, and tell the rock before their eyes to yield its water. So you shall bring water out of the rock for them and give drink to the congregation and their cattle.” And Moses took the staff from before the LORD, as he commanded him.
Then Moses and Aaron gathered the assembly together before the rock, and he said to them, “Hear now, you rebels: shall we bring water for you out of this rock?” And Moses lifted up his hand and struck the rock with his staff twice, and water came out abundantly, and the congregation drank, and their livestock. And the LORD said to Moses and Aaron, “Because you did not believe in me, to uphold me as holy in the eyes of the people of Israel, 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 through them he showed himself holy.
ESV: English Standard Version 2016