At the LORD ’s command, the whole community of Israel left the wilderness of Sin and moved from place to place. Eventually they camped at Rephidim, but there was no water there for the people to drink.
References for Exodus 17:1
So once more the people complained against Moses. “Give us water to drink!” they demanded. “Quiet!” Moses replied. “Why are you complaining against me? And why are you testing the LORD ?”
But tormented by thirst, they continued to argue with Moses. “Why did you bring us out of Egypt? Are you trying to kill us, our children, and our livestock with thirst?”
Then Moses cried out to the LORD, “What should I do with these people? They are ready to stone me!”
The LORD said to Moses, “Walk out in front of the people. Take your staff, the one you used when you struck the water of the Nile, and call some of the elders of Israel to join you.
I will stand before you on the rock at Mount Sinai. Strike the rock, and water will come gushing out. Then the people will be able to drink.” So Moses struck the rock as he was told, and water gushed out as the elders looked on.
References for Exodus 17:6
Moses named the place Massah (which means “test”) and Meribah (which means “arguing”) because the people of Israel argued with Moses and tested the LORD by saying, “Is the LORD here with us or not?”