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.
9 So Moses told Joshua, “Have some men ready to attack the Amalekites tomorrow. I will stand on a hilltop, holding this walking stick that has the power of God.”
10 Joshua led the attack as Moses had commanded, while Moses, Aaron, and Hur stood on the hilltop.
11 The Israelites out-fought the Amalekites as long as Moses held up his arms, but they started losing whenever he had to lower them.
12 Finally, Moses was so tired that Aaron and Hur got a rock for him to sit on. Then they stood beside him and supported his arms in the same position until sunset.