← Exodus: All Chapters

Verse-by-Verse Commentary

The Book of Exodus

Chapter 17: The Rock and the Battle

Thirst tests the camp again. At Rephidim there is no water, and the people chide with Moses until he fears they will stone him, asking the faithless question, "Is the LORD among us, or not?" God answers grace: He stands on the rock in Horeb, Moses smites it with his rod, and water gushes out for a whole nation to drink. Then Amalek attacks, the first enemy to make war on the redeemed. Joshua fights in the valley while Moses lifts the rod of God on the hill; as long as his hands are up, Israel prevails, and when they fall, Amalek prevails, so Aaron and Hur hold his hands steady until sundown and the victory. Moses builds an altar and calls it Jehovahnissi, the LORD my banner. Exodus 17 is a chapter about the smitten Rock that gives living water, the sin of doubting God's presence, and the battle with the flesh won through intercession.

About This Commentary

This is a verse-by-verse study of Exodus chapter 17. For each section you will find the KJV text, the Hebrew words that sharpen the meaning, plain explanation, and a Gospel Focus. Chapter 17 holds two scenes: the water from the smitten rock, and the war with Amalek won by Moses' upheld hands. It teaches Christ the Rock who gives living water, the danger of doubting God's presence, the lifelong war with the flesh, and the power of intercession. Every Scripture quotation is from the King James Version.

Setting the Stage

The Thirst

Is the LORD Among Us?

No water at Rephidim, and the people chide with Moses, doubting God's presence after all His wonders.

The Rock

Water From the Rock

God stands on the rock, Moses smites it, and water flows for the whole camp, the Rock that was Christ.

The Battle

Moses' Upheld Hands

Amalek attacks; while Moses holds up the rod of God, Israel prevails, and Aaron and Hur steady his hands.

The Banner

Jehovahnissi

Moses builds an altar, "The LORD my banner," for the LORD will war against Amalek from generation to generation.

The Thirst

Is the LORD Among Us, or Not? (Exodus 17:1-4)

Thirsty at Rephidim, the people chide with Moses and doubt God's very presence, until Moses fears they are ready to stone him.

Exodus 17:1-4

Wherefore Do Ye Tempt the LORD?

"And all the congregation of the children of Israel journeyed from the wilderness of Sin, after their journeys, according to the commandment of the LORD, and pitched in Rephidim: and there was no water for the people to drink. Wherefore the people did chide with Moses, and said, Give us water that we may drink. And Moses said unto them, Why chide ye with me? wherefore do ye tempt the LORD? And the people thirsted there for water; and the people murmured against Moses, and said, Wherefore is this that thou hast brought us up out of Egypt, to kill us and our children and our cattle with thirst? And Moses cried unto the LORD, saying, What shall I do unto this people? they be almost ready to stone me."

Hebrew Study

At Rephidim there is "no water," and the people's thirst curdles into accusation: "Wherefore is this that thou hast brought us up out of Egypt, to kill us?" Moses names the place for what happened there — Massah (massah, testing) and Meribah (merivah, strife) — "because they tempted the LORD." And the deliverer is nearly stoned by the very people he freed: "they be almost ready to stone me" — the shepherd threatened by his own flock.

Explanation

Israel comes to Rephidim by God's own leading, "according to the commandment of the LORD," and finds no water. At once the old murmuring returns, but sharper now: they "chide with Moses," demanding water and accusing him of bringing them out to kill them with thirst. Moses answers that their quarrel is really with God, "wherefore do ye tempt the LORD?" This was not honest need brought humbly to God; it was accusation. And behind it lay the worst doubt of all, which the next verse names: "Is the LORD among us, or not?" After the plagues, the sea, the manna, and the pillar, they still questioned whether God was with them. Moses, worn down, cries to the LORD, "they be almost ready to stone me." The shepherd is caught between a thirsty, angry people and the God who alone can help.

Gospel Focus

The heart of Israel's sin was the question, "Is the LORD among us, or not?" It was not their thirst that offended God but their doubt, for they asked it with the Red Sea barely dry behind them and manna on the ground at their feet. This is the peril of a forgetful heart: every fresh trial erases every past mercy, and we question God's presence as if He had never proved it. Scripture points back to this very day as a warning: "Harden not your heart, as in the provocation, and as in the day of temptation in the wilderness" (Psalm 95:8). To "tempt the LORD" is to demand that He prove Himself again when He has already proved Himself a hundred times. The believer is called to a better way, to remember what God has done and to trust Him in the new trial because of the old deliverances. When the water runs out, the question is never really "Is the LORD among us?" He has answered that at the cross forever. The question is whether we will trust the God who is undeniably there.

The Rock

Water Out of the Rock (Exodus 17:5-7)

God stands upon the rock in Horeb, Moses smites it with the rod, and water pours out for the people, a picture of the Rock that was Christ.

Exodus 17:5-10

Thou Shalt Smite the Rock

"And the LORD said unto Moses, Go on before the people, and take with thee of the elders of Israel; and thy rod, wherewith thou smotest the river, take in thine hand, and go. Behold, I will stand before thee there upon the rock in Horeb; and thou shalt smite the rock, and there shall come water out of it, that the people may drink. And Moses did so in the sight of the elders of Israel. And he called the name of the place Massah, and Meribah, because of the chiding of the children of Israel, and because they tempted the LORD, saying, Is the LORD among us, or not? Then came Amalek, and fought with Israel in Rephidim. And Moses said unto Joshua, Choose us out men, and go out, fight with Amalek: to morrow I will stand on the top of the hill with the rod of God in mine hand. So Joshua did as Moses had said to him, and fought with Amalek: and Moses, Aaron, and Hur went up to the top of the hill."

Explanation

God answers accusation with grace. He tells Moses to take "thy rod, wherewith thou smotest the river", the same rod that had brought judgment on Egypt, and to strike the rock. Then comes a striking word: "Behold, I will stand before thee there upon the rock in Horeb." God Himself would stand on the rock as it was struck. Moses smites it, and water gushes out, enough for a whole nation and its cattle. The rod that had fallen in judgment now falls on the rock, and instead of a plague, life-giving water flows. Moses names the place "Massah, and Meribah," because of the people's chiding and their tempting of the LORD. The memorial of the miracle carried the memory of the murmuring, a place named both for God's provision and for man's unbelief.

Hebrew Study

Moses named the place with two Hebrew words that fix the sin in memory: Massah, meaning testing or temptation, and Meribah, meaning strife or chiding. They had tested God and quarreled with His servant. The double name became a byword in Israel for the day the people doubted whether God was among them, a warning repeated in the Psalms and the New Testament against a hard and unbelieving heart.

Gospel Focus

Paul lifts the veil on this rock: "they drank of that spiritual Rock that followed them: and that Rock was Christ" (1 Corinthians 10:4). The smitten rock is one of the great pictures of Calvary. The Rock had to be struck before the water could flow, and Christ had to be smitten before the living water could pour out to us. Notice that God said, "I will stand ... upon the rock", the blow fell where God Himself stood, as at the cross the judgment fell on God manifest in the flesh. And out of the stricken Rock came water for all who were dying of thirst, as Jesus cried, "If any man thirst, let him come unto me, and drink," and "out of his belly shall flow rivers of living water" (John 7:37-38), speaking of the Spirit. There is a further lesson: at a later rock God told Moses only to speak, not strike, because the Rock, once smitten, need never be smitten again. Christ was offered once for all; now we come to the living Rock not to wound Him afresh but to ask, and the water of the Spirit still flows freely to every thirsty soul.

The Battle

When Moses Held Up His Hand (Exodus 17:8-13)

Amalek attacks the redeemed, and the battle turns not on the strength of the sword alone but on Moses' upheld hands, steadied by Aaron and Hur.

Exodus 17:11-14

Aaron and Hur Stayed Up His Hands

"And it came to pass, when Moses held up his hand, that Israel prevailed: and when he let down his hand, Amalek prevailed. But Moses' hands were heavy; and they took a stone, and put it under him, and he sat thereon; and Aaron and Hur stayed up his hands, the one on the one side, and the other on the other side; and his hands were steady until the going down of the sun. And Joshua discomfited Amalek and his people with the edge of the sword. And the LORD said unto Moses, Write this for a memorial in a book, and rehearse it in the ears of Joshua: for I will utterly put out the remembrance of Amalek from under heaven."

Hebrew Study

Against Amalek the battle is won not on the field but on the hill: "when Moses held up his hand, that Israel prevailed: and when he let down his hand, Amalek prevailed." When his arms grow heavy, Aaron and Hur stay them up "until the going down of the sun" — victory sustained by shared intercession. The rod of God lifted high, hands held up by faithful companions, teaches that God's people prevail through upheld, persevering prayer more than by the sword in the valley (compare 1 Timothy 2:8).

Explanation

Amalek is the first nation to make war on Israel after the exodus, striking the newly freed people in the wilderness. Moses sends Joshua to fight in the valley while he climbs the hill "with the rod of God in mine hand." The battle follows a strange rhythm: "when Moses held up his hand, that Israel prevailed: and when he let down his hand, Amalek prevailed." The fight below rose and fell with the hands lifted above. But Moses grew weary, "Moses' hands were heavy," so Aaron and Hur set him on a stone and held up his hands, one on each side, "and his hands were steady until the going down of the sun." So Joshua "discomfited Amalek." Victory came through both the sword in the valley and the lifted hands on the hill, and through the two who held those hands up when they failed.

Gospel Focus

Amalek, who struck the weak and the weary at the rear (Deuteronomy 25:18), is a fitting picture of the flesh that wars against the redeemed. He attacked right after the Red Sea and the manna, just as the flesh assaults the believer most fiercely after spiritual blessing. And God declared endless war on him, "from generation to generation," for "the flesh lusteth against the Spirit" (Galatians 5:17), and there is no truce to be made with it, only battle. But see how the victory was won. It was not by the sword alone; it turned on Moses' lifted hands, a picture of intercession. While hands were lifted in prayer, the battle was won below. Prayer sustains the fight we cannot win by effort alone. And when the intercessor's hands grew heavy, Aaron and Hur held them up. Even the strongest servant of God needs others to hold up his hands; we are meant to bear one another up in prayer. Above all, this points to our great Intercessor, Jesus, whose hands never grow heavy, for "he ever liveth to make intercession" (Hebrews 7:25). Our victory over the flesh is secured by the One on the hill whose hands are never let down.

The Banner

The LORD My Banner (Exodus 17:14-16)

God commands the victory be written down, and Moses builds an altar named Jehovahnissi, the LORD my banner, over a war that will last from generation to generation.

Exodus 17:15-16

Jehovahnissi

"And Moses built an altar, and called the name of it Jehovahnissi: For he said, Because the LORD hath sworn that the LORD will have war with Amalek from generation to generation."

Explanation

After the victory God tells Moses to "write this for a memorial in a book" and to tell Joshua that He "will utterly put out the remembrance of Amalek from under heaven." The battle Israel fought that day was part of a longer war that God Himself had taken up. Then Moses builds an altar and names it "Jehovahnissi," the LORD my banner, marking that the victory belonged to God and that He was the standard His people rallied to. And he declares that "the LORD will have war with Amalek from generation to generation." This enemy would not be finished in a day; the conflict would continue for ages, but it was the LORD's war, and the outcome was certain, Amalek's remembrance would at last be blotted out.

Hebrew Study

"Jehovahnissi" joins the divine name with the Hebrew nes, a banner, standard, or rallying-flag lifted up so an army knows where to gather and under whose name they fight. By naming the altar this, Moses confessed that the LORD Himself was Israel's banner, the One they marched under and the One to whom the victory belonged. It is the same word Isaiah uses of the Messiah, who would stand "for an ensign of the people" (Isaiah 11:10), the banner the nations would seek.

Gospel Focus

"The LORD my banner." A banner is what an army rallies to and fights under, and Israel's banner was not a flag but the LORD Himself. So it is for the people of God still: we do not fight under our own strength or name but under His. The victory over Amalek belonged to God, and the altar declared it. And the truth that "the LORD will have war with Amalek from generation to generation" reminds us that the conflict with the flesh and with the powers of darkness is lifelong; there is no discharge in this war until the Lord blots out the enemy for ever. Yet the outcome is not in doubt. God has sworn to put out the remembrance of the enemy, and He keeps His oath. We fight a defeated foe under an undefeated banner. Lift up the name of the Lord as your standard, gather to Him, and fight in His strength, for Jehovahnissi has already sworn the victory, and He will surely blot out every enemy of His redeemed.

Chapter 17 in Review

Exodus 17 holds two scenes. At Rephidim there is no water, and the people chide with Moses and doubt God's presence, "Is the LORD among us, or not?" God answers grace: He stands on the rock in Horeb, Moses smites it, and water flows for the whole camp, so the place is named Massah and Meribah. Then Amalek attacks the redeemed. Joshua fights in the valley while Moses lifts the rod of God on the hill; when his hands are up Israel prevails, and Aaron and Hur hold them steady until the sun goes down and the victory is won. Moses builds an altar, Jehovahnissi, the LORD my banner, over a war that will last from generation to generation.

For the Apostolic reader, this chapter is full of Christ and the Christian life. The smitten rock is the Rock that was Christ, struck once that the living water of the Spirit might flow to every thirsty soul. The murmuring warns against the forgetful heart that doubts God's presence after all His mercies. Amalek pictures the flesh that wars against the redeemed with no truce possible, but the victory is won through intercession, Moses' upheld hands, held up by faithful friends, and secured by our great Intercessor whose hands never fail. And the altar Jehovahnissi declares that the LORD Himself is our banner, under whose name we fight a defeated enemy to a certain end. Drink from the Rock, remember His faithfulness, and fight the flesh under the banner of the Lord.

Key Takeaways
  • The sin at Massah and Meribah was doubting God's presence after all His mercies (17:7; Psalm 95:8).
  • The smitten rock is the Rock that was Christ, struck that the living water of the Spirit might flow (17:6; 1 Corinthians 10:4; John 7:37-38).
  • Amalek pictures the flesh that wars against the redeemed, with no truce, only lifelong battle (17:16; Galatians 5:17).
  • Victory comes through intercession; the battle below turned on Moses' upheld hands (17:11).
  • Intercessors need support, and our great Intercessor's hands never fail (17:12; Hebrews 7:25).

Questions for Reflection

  • Israel asked, "Is the LORD among us, or not?" Do you let a new trial erase all God's past faithfulness?
  • The battle turned on lifted hands. How central is intercession to the battles you are trying to win?
  • Aaron and Hur held up Moses' hands. Whose hands is God calling you to hold up in prayer right now?

References & Sources

Scripture is quoted from the King James Version (KJV). "Massah" means testing or temptation, "Meribah" means strife or chiding, and "Jehovahnissi" means "the LORD my banner" (Hebrew nes, a standard or ensign), as any Bible reference confirms. Supporting passages are listed so every claim can be verified in its own setting. If anything here does not look right, a verse, a reference, or a wording, please tell us at info@FruitBearers.net. Thank you for helping us keep Bible Learning error free.

  1. Thirst and doubting God's presence: Exodus 17:1-4; Psalm 95:8.
  2. The smitten rock, the Rock that was Christ: Exodus 17:5-7; 1 Corinthians 10:4; John 7:37-38.
  3. The battle with Amalek and Moses' upheld hands: Exodus 17:8-13; Deuteronomy 25:18; Galatians 5:17; Hebrews 7:25.
  4. Jehovahnissi, the LORD my banner: Exodus 17:14-16; Isaiah 11:10.
How Can I Be Saved?