Exodus · Chapter 17
Water from the Rock and the Battle with Amalek
16 verses · ~3 min read · tap citations for Scripture
Leaving the Desert of Sin, the Israelites travel from stage to stage as the LORD directs and pitch camp at Rephidim. Once again, there is no water to drink. The people swarm Moses in a quarrel, demanding he give them water. Moses pushes back: why are they picking a fight with him and putting the LORD to the test? Parched with thirst, the crowd loses all restraint and accuses him of dragging them, their children, and their livestock out of Egypt just to die of thirst. Desperate, Moses cries out to the LORD: what should he do with these people? "A little more and they will stone me!" ().
Once again, God meets the crowd's fury with extraordinary patience. He tells Moses to take the very staff that struck the Nile, gather some of Israel's elders, and walk on ahead of the people. Then the LORD makes a striking promise: "Behold, I will stand there before you by the rock at Horeb. And when you strike the rock, water will come out of it for the people to drink." Moses obeys in full view of the elders, and water gushes out for the entire camp to drink. Moses names the place Massah (meaning testing) and Meribah (meaning quarreling), because there the people quarreled with him and tested the LORD by asking in unbelief, "Is the LORD among us or not?" ().
Their thirst has scarcely been quenched when an altogether different crisis strikes: the Amalekites launch a sudden attack on Israel at Rephidim. This is Israel's very first battle since leaving Egypt. Moses calls on Joshua—making his first appearance in the Bible—and tells him to choose men to march out and fight Amalek, while the next day Moses himself will stand on top of the hill holding the staff of God in his hand ().
The following day, Joshua leads the troops into battle down in the valley while Moses, Aaron, and Hur climb to the hilltop. Something remarkable happens throughout the fight: as long as Moses holds up his hands, Israel gains the upper hand; whenever his arms droop from exhaustion, Amalek starts winning. Seeing that Moses' hands have grown heavy, Aaron and Hur roll a stone under him so he can sit down, then stand one on each side holding his hands steady until sunset. That way, Joshua completely overwhelms Amalek and his army with the sword ().
After the victory, the LORD instructs Moses to write this event on a scroll as a lasting record and make sure Joshua hears it: God will utterly blot out the memory of Amalek from under heaven. Moses builds an altar on the spot and names it Yahweh-Nissi, meaning "The LORD Is My Banner," declaring that because Amalek dared lift a hand against the LORD's throne, the LORD will be at war with Amalek from generation to generation ().
Key Takeaways
Doubting God's presence is faith's deepest wound. Israel's question at Massah—"Is the LORD among us or not?" ()—is heartbreaking when you remember that the pillar of cloud was hovering right over their heads and they had eaten manna from heaven that very morning. When thirst and fear cloud the mind, we can forget every proof that God is standing right beside us.
God takes the blow in place of a rebellious people. The staff in Moses' hand was the same rod of judgment that struck Egypt's plagues (). God's anger could justly have fallen on a crowd ready to stone Moses, yet instead God stood right before Moses at the rock and told him to strike the rock (). Judgment falls on the rock, and life-giving water pours out for the very people who had just challenged Him.
Victory requires both raised hands on the hill and a sword in the valley. Joshua does not sit back passively waiting for a miracle, nor does Moses leave Joshua to fight on his own. The battle in the valley is decided by hands lifted to God on the hilltop (). Human courage and effort down below prevail only when upheld by God's power from above.
Even a giant like Moses gets tired arms and needs friends beside him. Moses cannot keep his hands raised by himself all day long; he needs Aaron and Hur to set a stone beneath him and hold his arms steady from both sides (). Nobody in God's work was designed to carry the load solo; a community's real strength lives in quiet companions who hold one another up until sunset.
God is the banner around which His people rally. Naming the altar "The LORD Is My Banner" () reminds Israel that victory did not belong to Joshua's tactics or any magic in Moses' staff. Amid the smoke and confusion of battle, soldiers lift their eyes to the banner to find their bearings and take heart; the LORD Himself is that rallying standard for His people.
Deeper Meaning
The struck rock directly foreshadows Christ. The apostle Paul unpacks this moment plainly and profoundly in 1 Corinthians: the Israelites "drank from the spiritual rock that accompanied them, and that rock was Christ" (). Just as the rock at Horeb took the blow of the rod of judgment so life-giving water could gush out for a dying crowd, Jesus absorbed judgment on the cross so that streams of living water—the Holy Spirit—would flow to anyone who comes to Him in thirst ().
Massah and Meribah echo across Scripture as a lasting warning. Centuries later, Psalm 95 recalls those two place names to urge God's people: "do not harden your hearts as you did at Meribah, in the day at Massah in the wilderness" (). In the New Testament, the letter to the Hebrews quotes those exact lines to warn the Church against letting an unbelieving heart rob them of God's rest ().
Joshua steps onto the stage—the one who will bring Israel home. Joshua's Hebrew name means the LORD saves—the very same name as Jesus in Greek. Here he appears for the first time as a young commander obeying Moses in battle (), preparing for the day when he will succeed Moses and lead Israel across the Jordan River into Canaan.
Notes & Nuances
Why does God pronounce such a severe sentence to blot out Amalek's memory? Reading chapter 17 by itself, we only hear that Amalek came out to fight. Deuteronomy fills in the brutal detail behind this ambush: while Israel was weary and exhausted on the march, Amalek did not face them head-on, but attacked from behind and slaughtered all the stragglers—the weak, the elderly, the exhausted lagging at the rear—showing no fear of God whatsoever (). That cowardly cruelty against the most vulnerable turned Amalek into a symbol of ruthless defiance against God's throne.
Moses striking the rock here (chapter 17) is different from striking the rock in Numbers 20. Readers often blur these two scenes together. Here in Exodus 17, near Mount Horeb early in the journey, God commands Moses to strike the rock, and Moses obeys (). Nearly forty years later at Kadesh in Numbers 20, God tells Moses simply to speak to the rock, yet Moses loses his temper and strikes it twice—losing the privilege of entering the promised land as a result ().
Were Moses' lifted hands prayer or magic? Moses raising his arms was never some mechanical charm that guaranteed automatic victory. Throughout Scripture, lifting hands toward heaven—here alongside the staff of God—is the posture of prayer and intercession before the LORD. Having the tide of battle rise and fall with Moses' arms taught all Israel to see clearly that victory depended entirely on relying upon God, not on military muscle.
The Bible's first mention of writing things down. Verse 17:14 is the first place in Scripture where God instructs Moses, "Write this on a scroll as a reminder" (). From this point onward, God's saving deeds are not merely passed down by word of mouth, but preserved in writing for every generation to come.
What Commentators Say (4)
Justin Martyr, the 2nd-century Christian apologist, saw in Moses sitting on the stone with both arms outstretched all day—upheld by Aaron and Hur ()—a vivid foreshadowing of the cross. Israel defeated Amalek, he observed, not by the sword alone, but through the sign of outstretched arms on the hilltop paired with a commander down in the valley bearing the name Joshua (the very name of Jesus). (Dialogue with Trypho, Chapter 90)
Confidence: HighViewing Moses' outstretched arms against Amalek as a figure of the cross in Dialogue with Trypho chapter 90 is one of Justin Martyr's most famous typological interpretations
Matthew Henry, the 17th–18th century English pastor, reflected warmly on Aaron and Hur standing on either side to support Moses' arms (). Moses was a mighty intercessor, yet his body still had real limits; when exhaustion set in, God placed loyal companions right beside him to steady his hands. From this, Henry urges every congregation to uphold and pray for its leaders rather than leaving them to carry the burden alone until they collapse. (Commentary on the Whole Bible, Exodus 17)
Confidence: MediumMatthew Henry certainly draws a lesson on supporting leaders and shared intercession from Aaron and Hur holding up Moses' hands; exact wording not yet verified
John Calvin, the 16th-century Reformer in Geneva, zoomed in on Israel's question at Massah: "Is the LORD among us or not?" (). That, he argued, is the clearest definition of testing God: demanding that God prove His presence on human terms and on a human timetable, brushing aside every demonstration of grace He has already put right in front of our eyes. (Commentaries on the Four Last Books of Moses)
Confidence: MediumCalvin certainly explains the sin of testing God at Massah as demanding fresh proof despite the grace already witnessed; exact wording on chapter 17 not yet verified
Nahum Sarna, the American Jewish scholar, cites a classic insight from the ancient Jewish Mishnah (in Rosh Hashanah): could Moses' physical hands really win or lose a battle? Of course not; rather, whenever Moses raised his hands, the Israelites down in the valley lifted their eyes skyward and turned their hearts to their Father in heaven, and then they prevailed—and whenever they lowered their gaze and forgot God, they faltered. (Exploring Exodus, 1986)
Confidence: HighThe famous Mishnah Rosh Hashanah explanation that Moses' raised hands lifted Israel's hearts toward heaven is cited by Sarna and nearly all Jewish scholars on Exodus 17
Full chapter text · 16 verses
1Then the whole congregation of Israel left the Desert of Sin, moving from place to place as the LORD commanded. They camped at Rephidim, but there was no water for the people to drink. 2So the people contended with Moses, “Give us water to drink.” “Why do you contend with me?” Moses replied. “Why do you test the LORD?” 3But the people thirsted for water there, and they grumbled against Moses: “Why have you brought us out of Egypt—to make us and our children and livestock die of thirst?” 4Then Moses cried out to the LORD, “What should I do with these people? A little more and they will stone me!” 5And the LORD said to Moses, “Walk on ahead of the people and take some of the elders of Israel with you. Take along in your hand the staff with which you struck the Nile, and go. 6Behold, I will stand there before you by the rock at Horeb. And when you strike the rock, water will come out of it for the people to drink.” So Moses did this in the sight of the elders of Israel. 7He named the place Massah and Meribah because the Israelites quarreled, and because they tested the LORD, saying, “Is the LORD among us or not?” 8After this, the Amalekites came and attacked the Israelites at Rephidim. 9So Moses said to Joshua, “Choose some of our men and go out to fight the Amalekites. Tomorrow I will stand on the hilltop with the staff of God in my hand.” 10Joshua did as Moses had instructed him and fought against the Amalekites, while Moses, Aaron, and Hur went up to the top of the hill. 11As long as Moses held up his hands, Israel prevailed; but when he lowered them, Amalek prevailed. 12When Moses’ hands grew heavy, they took a stone and put it under him, and he sat on it. Then Aaron and Hur held his hands up, one on each side, so that his hands remained steady until the sun went down. 13So Joshua overwhelmed Amalek and his army with the sword. 14Then the LORD said to Moses, “Write this on a scroll as a reminder and recite it to Joshua, because I will utterly blot out the memory of Amalek from under heaven.” 15And Moses built an altar and named it The LORD Is My Banner. 16“Indeed,” he said, “a hand was lifted up toward the throne of the LORD. The LORD will war against Amalek from generation to generation.”