Say to the Rock, "Give Water"
The people stayed a month at Kadesh and Miriam had just died and was buried there.
They had just moved on to Meribah again the people quarreled against Moses and Aaron.
God asked Moses to speak to the rock so that it would produce water for the people. However, because he was angry, Moses instead hit the rock twice. For this reason he was barred by God from entering the promised land.
This happened at Meribah which in Hebrew means: Strife, contention or quarreling.
Water From the Rock
20 In the first month the whole Israelite community arrived at the Desert of Zin, and they stayed at Kadesh. There Miriam died and was buried.
2 Now there was no water for the community, and the people gathered in opposition to Moses and Aaron. 3 They quarreled with Moses and said, "If only we had died when our brothers fell dead before the LORD!4 Why did you bring the LORD's community into this desert, that we and our livestock should die here? 5 Why did you bring us up out of Egypt to this terrible place? It has no grain or figs, grapevines or pomegranates. And there is no water to drink!"
6 Moses and Aaron went from the assembly to the entrance to the Tent of Meeting and fell facedown, and the glory of the LORD appeared to them. 7 The LORD said to Moses, 8 "Take the staff, and you and your brother Aaron gather the assembly together. Speak to that rock before their eyes and it will pour out its water. You will bring water out of the rock for the community so they and their livestock can drink."
9 So Moses took the staff from the LORD's presence, just as he commanded him. 10 He and Aaron gathered the assembly together in front of the rock and Moses said to them, "Listen, you rebels, must we bring you water out of this rock?" 11 Then Moses raised his arm and struck the rock twice with his staff. Water gushed out, and the community and their livestock drank.
12 But the LORD said to Moses and Aaron, "Because you did not trust in me enough to honor me as holy in the sight of the Israelites, you will not bring this community into the land I give them."
13 These were the waters of Meribah, where the Israelites quarreled with the LORD and where he showed himself holy among them.
Also see Numbers 27:12-14 Deuteronomy 32:51, Deuteronomy 33:8-11