Then the children 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; so they gathered together against Moses and Aaron.
And the people contended with Moses and spoke, saying: "If only we had died when our brethren died before the Lord!
Why have you brought up the assembly of the Lord into this wilderness, that we and our animals should die here?
And why have you made us come up out of Egypt, to bring us to this evil place? It is not a place of grain or figs or vines or pomegranates; nor is there any water to drink."
So Moses and Aaron went from the presence of the assembly to the door of the tabernacle of meeting, and they fell on their faces. And the glory of the Lord appeared to them.
Then the Lord spoke to Moses, saying,
"Take the rod; you and your brother Aaron gather the congregation together. Speak to the rock before their eyes, and it will yield its water; thus you shall bring water for them out of the rock, and give drink to the congregation and their animals."
So Moses took the rod from before the Lord as He commanded him.
And Moses and Aaron gathered the assembly together before the rock; and he said to them, "Hear now, you rebels! Must we bring water for you out of this rock?"
Then Moses lifted his hand and struck the rock twice with his rod; and water came out abundantly, and the congregation and their animals drank.
Then the Lord spoke to Moses and Aaron, "Because you did not believe Me, to hallow Me in the eyes of the children of Israel, therefore you shall not bring this assembly into the land which I have given them."
This was the water of Meribah, because the children of Israel contended with the Lord, and He was hallowed among them.
References for Numbers 20:13
Now Moses sent messengers from Kadesh to the king of Edom. "Thus says your brother Israel: 'You know all the hardship that has befallen us,
how our fathers went down to Egypt, and we dwelt in Egypt a long time, and the Egyptians afflicted us and our fathers.
When we cried out to the Lord, He heard our voice and sent the Angel and brought us up out of Egypt; now here we are in Kadesh, a city on the edge of your border.
Please let us pass through your country. We will not pass through fields or vineyards, nor will we drink water from wells; we will go along the King's Highway; we will not turn aside to the right hand or to the left until we have passed through your territory.' "
Then Edom said to him, "You shall not pass through my land, lest I come out against you with the sword."
So the children of Israel said to him, "We will go by the Highway, and if I or my livestock drink any of your water, then I will pay for it; let me only pass through on foot, nothing more."
Then he said, "You shall not pass through." So Edom came out against them with many men and with a strong hand.
Thus Edom refused to give Israel passage through his territory; so Israel turned away from him.
Then the children of Israel, the whole congregation, journeyed from Kadesh and came to Mount Hor.
And the Lord spoke to Moses and Aaron in Mount Hor by the border of the land of Edom, saying:
"Aaron shall be gathered to his people, for he shall not enter the land which I have given to the children of Israel, because you rebelled against My word at the water of Meribah.
Take Aaron and Eleazar his son, and bring them up to Mount Hor;
and strip Aaron of his garments and put them on Eleazar his son; for Aaron shall be gathered to his people and die there."
So Moses did just as the Lord commanded, and they went up to Mount Hor in the sight of all the congregation.
Moses stripped Aaron of his garments and put them on Eleazar his son; and Aaron died there on the top of the mountain. Then Moses and Eleazar came down from the mountain.
Now when all the congregation saw that Aaron was dead, all the house of Israel mourned for Aaron thirty days.