And the Lord spoke to Moses, saying, "You and your brother Aaron take the rod and assemble the community, and before their very eyes order the rock to yield its water. Thus you shall produce water for them from the rock and provide drink for the congregation and their beasts."
Moses took the rod from before the Lord, as He had commanded him. Moses and Aaron assembled the congregation in front of the rock; and he said to them, "Listen, you rebels, shall we get water for you out of this rock?" And Moses raised his hand and struck the rock twice with his rod. Out came copious water, and the community and their beasts drank.
But the Lord said to Moses and Aaron, "Because you did not trust Me enough to affirm My sanctity in the sight of the Israelite people, therefore you shall not lead this congregation into the land that I have given them." Those are the Waters of Meribah--meaning that the Israelites quarrelled with the Lord--through which He affirmed His sanctity.
From Kadesh, Moses sent messengers to the king of Edom: "Thus says your brother Israel: You know all the hardships that have befallen us; that our ancestors went down to Egypt, that we dwelt in Egypt a long time, and that the Egyptians dealt harshly with us and our ancestors. We cried to the Lord and He heard our plea, and He sent a messenger who freed us from Egypt. Now we are in Kadesh, the town on the border of your territory. Allow us, then, to cross your country. We will not pass through fields or vineyards, and we will not drink water from wells. We will follow the king's highway, turning off neither to the right nor to the left until we have crossed your territory."
But Edom answered him, "You shall not pass through us, else we will go out against you with the sword." "We will keep to the beaten track," the Israelites said to them, "and if we or our cattle drink your water, we will pay for it. We ask only for passage on foot--it is but a small matter." But they replied, "You shall not pass through!" And Edom went out against them in heavy force, strongly armed. So Edom would not let Israel cross their territory, and Israel turned away from them.