Numbers 20:7 and the Lord said to Moses, 8 “You and Aaron must take the staff and assemble the entire community. As the people watch, speak to the rock over there, and it will pour out its water. You will provide enough water from the rock to satisfy the whole community and their livestock.”
9 So Moses did as he was told. He took the staff from the place where it was kept before the Lord. 10 Then he and Aaron summoned the people to come and gather at the rock. “Listen, you rebels!” he shouted. “Must we bring you water from this rock?” 11 Then Moses raised his hand and struck the rock twice with the staff, and water gushed out. So the entire community and their livestock drank their fill.
12 But the Lord said to Moses and Aaron, “Because you did not trust me enough to demonstrate my holiness to the people of Israel, you will not lead them into the land I am giving them!”