2 The people started complaining to Moses, “Give us some water!”Moses replied, “Why are you complaining to me and trying to put the Lord to the test?”
3 But the people were thirsty and kept on complaining, “Moses, did you bring us out of Egypt just to let us and our families and our animals die of thirst?”
4 Then Moses prayed to the Lord, “What am I going to do with these people? They are about to stone me to death!”
5 The Lord answered, “Take some of the leaders with you and go ahead of the rest of the people. Also take along the walking stick you used to strike the River Nile,
6 and when you get to the rock at Mount Sinai, I will be there with you. Strike the rock with the stick, and water will pour out for the people to drink.” Moses did this while the leaders watched.
7 The people had complained and tested the Lord by asking, “Is the Lord really with us?” So Moses named that place Massah, which means “testing” and Meribah, which means “complaining”.
8 When the Israelites were at Rephidim, they were attacked by the Amalekites.