The people arrive in the wilderness of Zin and stay at Kadesh, where Miriam dies and is buried. There is no water, and the congregation gathers against Moses and Aaron, bitterly saying it would have been better to die in Egypt and accusing them of bringing everyone to a place with no grain, figs or vines. The two leaders fall on their faces at the entrance of the tabernacle, and the glory of the Lord appears.
God tells Moses to take the staff, gather the congregation and speak to the rock so that it will give water. Moses gathers the people, calls them rebels and strikes the rock twice with the staff; water pours out abundantly. The Lord tells them that, because they did not trust him to show his holiness before the Israelites, they will not bring the congregation into the land he is giving them. The place is called the waters of Meribah.
Moses sends messengers to the king of Edom asking for passage along the King's Highway and promising not to touch fields or wells, but Edom refuses and comes out with an army; Israel goes around its territory. At Mount Hor the Lord tells Moses to take Aaron and his son Eleazar up the mountain; there Moses strips Aaron of his priestly garments and puts them on Eleazar. Aaron dies on the summit, and all Israel mourns him thirty days.