The Lord Gives Water from a Rock
1 The Israelites left the desert and moved from one place to another each time the Lord ordered them to. Once they camped at Rephidim, but there was no water for them to drink.
2The 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?”
3But 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?”
4Then Moses prayed to the Lord, “What am I going to do with these people? They are about to stone me to death!”
5The Lord answered, “Take some of the leaders with you and go ahead of the rest of the people. Also take along the walking stick with which you struck the Nile River. 6When 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.
7The 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.”
Israel Defeats the Amalekites
8When the Israelites were at Rephidim, they were attacked by the Amalekites. 9So 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.”
10Joshua led the attack as Moses had commanded, while Moses, Aaron, and Hur stood on the hilltop. 11The Israelites out-fought the Amalekites as long as Moses held up his arms, but they started losing whenever he lowered them. 12After a while, his arms were 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. 13That's how Joshua defeated the Amalekites.
14 Afterwards, the Lord said to Moses, “Write an account of this victory and read it to Joshua. I want the Amalekites to be forgotten forever.”
15Moses built an altar and named it “The Lord Gives Me Victory.” 16Then Moses explained, “This is because I depended on the Lord. But in future generations, the Lord will fight the Amalekites again and again.”