NumbersChapter 20

In the first month the Israelites, the whole community, came to the wilderness of Zin, and the people settled at Kadesh. There Miriam died, and there she was buried.
The people quarreled with Moses and said, "If only we had died when our brothers died before the LORD!
Why have you brought the LORD's assembly into this wilderness, for us and our livestock to die here?
Why did you bring us up out of Egypt to this miserable place? It has no grain, no figs, no vines, no pomegranates—and there is no water to drink."
Moses and Aaron went from the assembly to the entrance of the tent of meeting and fell on their faces, and the glory of the LORD appeared to them.
"Take the staff, and you and your brother Aaron gather the community. Speak to the rock before their eyes, and it will yield its water. So you will bring water out of the rock for them and give the community and their livestock something to drink."
Moses and Aaron gathered the assembly in front of the rock, and he said to them, "Listen now, you rebels! Must we bring water out of this rock for you?"
But the LORD said to Moses and Aaron, "Because you did not trust me enough to honor me as holy in the sight of the Israelites, you will not bring this assembly into the land I have given them."
These were the waters of Meribah, where the Israelites quarreled with the LORD, and where he showed himself holy among them.
From Kadesh Moses sent messengers to the king of Edom: "This is what your brother Israel says: You know all the hardship that has come upon us.
Our fathers went down to Egypt, and we lived in Egypt many years. The Egyptians mistreated us and our fathers,
but when we cried out to the LORD, he heard our voice and sent an angel and brought us out of Egypt. Now here we are at Kadesh, a town on the edge of your territory.
Please let us pass through your land. We will not cut through any field or vineyard, and we will not drink water from any well. We will travel along the king's highway and will not turn aside to the right or the left until we have passed through your territory."
The Israelites said to him, "We will keep to the main road, and if we or our livestock drink any of your water, we will pay for it. It is nothing—we only want to pass through on foot."
At Mount Hor, on the border of the land of Edom, the LORD said to Moses and Aaron,
"Aaron will be gathered to his people. He will not enter the land I have given to the Israelites, because both of you rebelled against my command at the waters of Meribah.
Remove Aaron's garments and put them on his son Eleazar, for Aaron will be gathered to his people; he will die there."
Moses removed Aaron's garments and put them on his son Eleazar. And Aaron died there on top of the mountain. Then Moses and Eleazar came down from the mountain,
and when the whole community saw that Aaron had died, all the house of Israel wept for him thirty days.