So they quarreled with Moses and said, "Give us water1 to drink."2 Moses replied, "Why do you quarrel with me? Why do you put the LORD to the test?"33
But the people were thirsty4 for water there, and they grumbled5 against Moses. They said, "Why did you bring us up out of Egypt to make us and our children and livestock die6 of thirst?"
Then Moses cried out to the LORD, "What am I to do with these people? They are almost ready to stone7 me."
The LORD answered Moses, "Walk on ahead of the people. Take with you some of the elders of Israel and take in your hand the staff8 with which you struck the Nile,9 and go.
I will stand there before you by the rock at Horeb.10 Strike11 the rock, and water12 will come out of it for the people to drink." So Moses did this in the sight of the elders of Israel.
And he called the place Massaha13 and Meribahb14 because the Israelites quarreled and because they tested the LORD saying, "Is the LORD among us or not?"
The Amalekites15 came and attacked the Israelites at Rephidim.169
Moses said to Joshua,17 "Choose some of our men and go out to fight the Amalekites. Tomorrow I will stand on top of the hill with the staff18 of God in my hands."
So Joshua fought the Amalekites as Moses had ordered, and Moses, Aaron and Hur19 went to the top of the hill.
As long as Moses held up his hands, the Israelites were winning,20 but whenever he lowered his hands, the Amalekites were winning.
When Moses' hands grew tired, they took a stone and put it under him and he sat on it. Aaron and Hur held his hands up--one on one side, one on the other--so that his hands remained steady till sunset.21