The whole Israelite community broke camp and set out from the Sin desert to continue their journey, as the LORD commanded. They set up their camp at Rephidim, but there was no water for the people to drink.
The people argued with Moses and said, "Give us water to drink." Moses said to them, "Why are you arguing with me? Why are you testing the LORD?"
But the people were very thirsty for water there, and they complained to Moses, "Why did you bring us out of Egypt to kill us, our children, and our livestock with thirst?"
So Moses cried out to the LORD, "What should I do with this people? They are getting ready to stone me."
The LORD said to Moses, "Go on ahead of the people, and take some of Israel's elders with you. Take in your hand the shepherd's rod that you used to strike the Nile River, and go.
I'll be standing there in front of you on the rock at Horeb. Hit the rock. Water will come out of it, and the people will be able to drink." Moses did so while Israel's elders watched.
He called the place Massah and Meribah, because the Israelites argued with and tested the LORD, asking, "Is the LORD really with us or not?"