Exodus 17:1-16, NLT
Water from the Rock
1At the Lord’s command, the whole community of Israel left the wilderness of Sin*17:1 The geographical name Sin is related to Sinai and should not be confused with the English word sin. and moved from place to place. Eventually they camped at Rephidim, but there was no water there for the people to drink.
“Quiet!” Moses replied. “Why are you complaining against me? And why are you testing the Lord?”
3But tormented by thirst, they continued to argue with Moses. “Why did you bring us out of Egypt? Are you trying to kill us, our children, and our livestock with thirst?”
4Then Moses cried out to the Lord, “What should I do with these people? They are ready to stone me!”
5The Lord said to Moses, “Walk out in front of the people. Take your staff, the one you used when you struck the water of the Nile, and call some of the elders of Israel to join you.
7Moses named the place Massah (which means “test”) and Meribah (which means “arguing”) because the people of Israel argued with Moses and tested the Lord by saying, “Is the Lord here with us or not?”
Israel Defeats the Amalekites
8While the people of Israel were still at Rephidim, the warriors of Amalek attacked them.
10So Joshua did what Moses had commanded and fought the army of Amalek. Meanwhile, Moses, Aaron, and Hur climbed to the top of a nearby hill.
14After the victory, the Lord instructed Moses, “Write this down on a scroll as a permanent reminder, and read it aloud to Joshua: I will erase the memory of Amalek from under heaven.”