Exodus 17:4-6

4So Moses cried to the Lord, “What shall I do with this people? They are almost ready ato stone me.” 5And the Lord said to Moses, “Pass on before the people, taking with you some of the elders of Israel, and take in your hand the staff with bwhich you struck the Nile, and go. 6 cBehold, I will stand before you there on the rock at Horeb, and you shall strike the rock, and water shall come out of it, and the people will drink.” And Moses did so, in the sight of the elders of Israel.
Copyright information for ESV