Water From the Rock
17 The Israelites left the western Sinai desert.[a] They traveled all together from place to place as the Lord commanded. They camped at Rephidim, but there was no water for the people to drink. 2 So they turned against Moses and started arguing with him. They said, “Give us water to drink.”
Moses said to them, “Why have you turned against me? Why are you testing the Lord?”
3 But the people were very thirsty, so they continued complaining to Moses. They said, “Why did you bring us out of Egypt? Did you bring us out here so that we, our children, and our cattle will all die without water?”
4 So Moses cried to the Lord, “What can I do with these people? They are ready to kill me.”
5 The Lord said to Moses, “Go before the Israelites. Take some of the elders of the people with you. Carry your walking stick with you. This is the stick that you used when you hit the Nile River. 6 I will stand before you on a rock at Horeb.[b] Hit that rock with the walking stick and water will come out of it. Then the people can drink.”
Moses did these things and the elders of Israel saw it. 7 Moses named that place Meribah[c] and Massah,[d] because this was the place that the Israelites turned against him and tested the Lord. The people wanted to know if the Lord was with them or not.
War With the Amalekites
8 At Rephidim the Amalekites came and fought against the Israelites. 9 So Moses said to Joshua, “Choose some men and go and fight the Amalekites tomorrow. I will stand on the top of the hill and watch you. I will be holding the walking stick God gave me.”
10 Joshua obeyed Moses and went to fight the Amalekites the next day. At the same time Moses, Aaron, and Hur went to the top of the hill. 11 Any time Moses held his hands in the air, the men of Israel would start winning the fight. But when Moses put his hands down, the men of Israel began to lose the fight.
12 After some time, Moses’ arms became tired. So they put a large rock under Moses for him to sit on. Then Aaron and Hur held Moses’ hands in the air. Aaron was on one side of Moses and Hur was on the other side. They held his hands up like this until the sun went down. 13 So Joshua and his men defeated the Amalekites in this battle.
14 Then the Lord said to Moses, “Write about this battle. Write these things in a book so that people will remember what happened here. And be sure to tell Joshua that I will completely destroy the Amalekites from the earth.”
15 Then Moses built an altar and named it, “The Lord is My Flag.” 16 Moses said, “I lifted my hands toward the Lord’s throne. So the Lord fought against the Amalekites, as he always has.”