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.
Moses sent messengers from Kadesh to the king of Edom, "This is what your brother Israel says, 'You know all the hardships that have overtaken us.
Our fathers went down to Egypt, and we lived in Egypt many years, but the Egyptians treated us and our fathers badly.
When we cried out to the LORD, He heard our voice, sent an Angel, and brought us out of Egypt. Now look, we are in Kadesh, a city on the border of your territory.
Please let us travel through your land. We won't travel through [any] field or vineyard, or drink [any] well water. We will travel the King's Highway; we won't turn to the right or the left until we have traveled through your territory.'"
But Edom answered him, "You must not travel through our land, or we will come out and confront you with the sword."
"We will go on the main road," the Israelites replied to them, "and if we or our herds drink your water, we will pay its price. There will be no problem; only let us travel through on foot."
Yet Edom insisted, "You must not travel through." And they came out to confront them with a large force of heavily-armed people.
Edom refused to allow Israel to travel through their territory, and Israel turned away from them.
After they set out from Kadesh, the entire Israelite community came to Mount Hor.
The LORD said to Moses and Aaron at Mount Hor on the border of the land of Edom,
"Aaron will be gathered to his people; he will not enter the land I have given the Israelites, because you both rebelled against My command at the waters of Meribah.
Take Aaron and his son Eleazar and bring them up Mount Hor.
Remove Aaron's garments and put them on his son Eleazar. Aaron will be gathered [to his people] and die there."
So Moses did as the LORD commanded, and they climbed Mount Hor in the sight of the whole community.
After Moses removed Aaron's garments and put them on his son Eleazar, Aaron died there on top of the mountain. Then Moses and Eleazar came down from the mountain.
When the whole community saw that Aaron had passed away, the entire house of Israel mourned for him 30 days.