Numbers 20:10-12

Moses Strikes the Rock

10 Then Moses and Aaron gathered the assembly together before the rock, and he said to them, a Hear now, you rebels: shall we bring water for you out of this rock?” 11 And Moses lifted up his hand and struck the rock with his staff twice, b and water came out abundantly, and the congregation drank, and their livestock. 12 And the  Lord said to Moses and Aaron, “Because c you did not believe in me, d to uphold me as holy in the eyes of the people of Israel, therefore you shall not bring this assembly into the land that I have given them.”
Copyright information for ESV