Exodus 17:6

6 I will be standing there in front of you on the rock at Horeb. Strike the rock, and water will come out of it, so that the people may drink." Moses did so, in the sight of the elders of Israel.

Exodus 17:6 In-Context

4 So Moses cried out to the Lord, "What shall I do with this people? They are almost ready to stone me."
5 The Lord said to Moses, "Go on ahead of the people, and take some of the elders of Israel with you; take in your hand the staff with which you struck the Nile, and go.
6 I will be standing there in front of you on the rock at Horeb. Strike the rock, and water will come out of it, so that the people may drink." Moses did so, in the sight of the elders of Israel.
7 He called the place Massah and Meribah, because the Israelites quarreled and tested the Lord, saying, "Is the Lord among us or not?"
8 Then Amalek came and fought with Israel at Rephidim.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.