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.
References for Numbers 20:13
Moses sent messengers from Kadesh to the king of Edom, "Thus says your brother Israel: You know all the adversity that has befallen us:
how our ancestors went down to Egypt, and we lived in Egypt a long time; and the Egyptians oppressed us and our ancestors;
and when we cried to the Lord, he heard our voice, and sent an angel and brought us out of Egypt; and here we are in Kadesh, a town on the edge of your territory.
Now let us pass through your land. We will not pass through field or vineyard, or drink water from any well; we will go along the King's Highway, not turning aside to the right hand or to the left until we have passed through your territory."
But Edom said to him, "You shall not pass through, or we will come out with the sword against you."