Numbers 20:7-12

ISV(i) 7 The LORD told Moses, 8 “Take the rod, gather the community together, and then you and your brother Aaron are to speak to the rock right before their eyes. It will release water. As you bring water to them from the rock, the community and the cattle will be able to drink.” 9 So Moses took the rod in the LORD’s presence, just as he had commanded.
10 Then Moses and Aaron gathered the community together in front of the rock. “Pay attention, you rebels!” Moses told them. “Are we to bring you water from this rock?” 11 Then Moses raised his hand and struck the rock twice with his rod. Lots of water gushed out, and both the community and their cattle were able to drink.
12 The LORD Disciplines MosesBut the LORD rebuked Moses and Aaron, telling Moses: “Because you both didn’t believe me, because you didn’t consecrate me as holy in the presence of the Israelis, you won’t be the ones to bring this congregation into the land that I’m about to give them.”