Short answer: In Exodus 17:8–16 Joshua appears for the first time as Moses' field commander. Moses tells him to choose men and fight Amalek, and Joshua does exactly as Moses said. Yet the passage ties the outcome to Moses' raised hands and names the altar "Yahweh our Banner," so the real actor is God. Joshua's role is real and necessary, but it sits inside dependence on Yahweh rather than beside it.
A battle at rephidim, and a name that answers a question
Exodus 17:8–16 is a narrative episode in the wilderness travel account, set at Rephidim not long after Israel left Egypt and after water came from the rock. The unit has a clear shape: a battle report framed by two scenes of intercession and remembrance. Below, Joshua leads men in combat; above, Moses stands on the hill with the rod of God in his hand. The account then closes with a written record and an altar. Crisis, combat and covenant remembrance follow one another, and Joshua appears here by name for the first time in Scripture.
The setting matters because of what comes just before. At Massah and Meribah the people quarreled and tested Yahweh, asking whether he was among them or not (17:7). The next scene answers that question, not with a speech but with a fight. Amalek attacks a newly freed people with no settled home and no army of their own, and Moses answers with a two-part plan: Joshua leads the fighting in the valley while Moses intercedes on the hill. Aaron and Hur hold up his heavy hands until sunset, and Joshua defeats Amalek with the edge of the sword (17:13).
The closing scenes lift the episode above a skirmish. Yahweh tells Moses to write it in a book and rehearse it to Joshua, promising to blot out the memory of Amalek (17:14). Moses builds an altar and names it "Yahweh our Banner" (17:15), and the passage ends with a sworn war against Amalek from generation to generation. This is God's specific judgment on Amalek, not a promise of victory in any reader's own conflicts. The next chapter brings Jethro and Israel's ordered life together, so the battle stands at the turn from deliverance to wilderness living.
Joshua under Moses, and the hands that held the battle
The scene opens with no introduction. Moses simply speaks to Joshua, so the reader meets a man already known and already under authority. Moses tells him to choose men and go out to fight Amalek, and the next verse records that Joshua did as Moses had told him. That phrase matters: Joshua is obedient, not independent. He musters the army, but the plan is not his. The passage never explains how these two met or why Moses trusted him with this. It only shows the shape of the relationship, a senior leader giving an order and a younger man carrying it out exactly.
Up on the hill, the plain physical details carry the point. Moses' hand goes up and Israel prevails; it comes down and Amalek prevails. His hands grow heavy, so a stone is placed under him and he sits, while Aaron and Hur steady his arms, one on each side, until sunset. The sword does the fighting, yet the text ties the outcome to the raised hands of intercession. Joshua wins below, but not alone and not by his own strength. The victory belongs to God, and it comes through dependent, supported prayer.
Afterward God tells Moses to write this for a memorial and to rehearse it in Joshua's ears, so Joshua becomes the named hearer of a sworn judgment on Amalek. Moses builds an altar and calls it "Yahweh our Banner" (Exodus 17:15), tying the whole event to God's own name. This sworn war is God's specific judgment on Amalek, not a promise that every conflict of ours will end in victory. What stays central is God fighting for his people while they hold on to him, and a young commander learning that the battle is the Lord's.
Joshua fights while Moses holds up his hands
The scene opens right after Israel tested Yahweh at Massah and Meribah, asking whether he was among them at all. Amalek attacks the newly freed people at Rephidim, and Moses answers with two moves at once. He tells Joshua to choose men and fight, while he himself stands on the hill with God's rod in his hand. Joshua does exactly what Moses told him. He is a trusted subordinate here, not yet a successor, and the text gives him no speech of his own. His obedience is the whole of his introduction.
The battle turns on what happens above the field as much as below it. When Moses' hand is raised, Israel prevails; when he lowers it, Amalek prevails. His hands grow heavy, so Aaron and Hur seat him on a stone and hold his arms steady until sunset. Joshua wins with the sword, yet the narrator makes plain that the sword alone did not decide it. The real actor is Yahweh, who answers the earlier question about whether he is among his people by fighting for them in the wilderness.
God then tells Moses to write the event in a book and rehearse it to Joshua, swearing to blot out Amalek's memory. Moses builds an altar and names it Yahweh our Banner, declaring war with Amalek from generation to generation. This is God's specific judgment on a particular enemy, not a promise that any reader's conflicts will end in victory or safety. What carries forward is the pattern: real human effort, like Joshua's, held inside dependence on the God who gives the outcome.
Jethro arrives in the next chapter, and Israel's ordered life together begins, so this battle stands at the turn from deliverance to wilderness living.
Where readers disagree about joshua, Moses, and amalek
The scene at Rephidim pairs two kinds of action. Joshua takes chosen men and fights Amalek in the valley while Moses stands on the hill with God's rod. The narrator reports that when Moses held up his hand Israel prevailed, and when he let it down Amalek prevailed (17:11). Readers weigh these facts differently. Some stress the lifted hands as the decisive factor; others stress that Joshua truly fought and defeated Amalek with the sword (17:13). The text holds both without explaining how the raised hand mattered. What it does show is Moses' human weakness: his hands grew heavy, so Aaron and Hur set him on a stone and steadied his arms until sunset (17:12).
Amalek draws a sharper disagreement. After the battle Yahweh tells Moses to write the event in a book and to recite it to Joshua, promising to blot out Amalek's memory from under the sky (17:14). Moses builds an altar called Yahweh our Banner and declares that Yahweh will wage war with Amalek from generation to generation (17:15–16). Some read this sworn war as a warrant for later holy war. Others read it as God's own declared judgment, announced and carried out by God, not a pattern for churches to copy. What stays central is that the conflict is Yahweh's, and the banner is his name, not Israel's skill.
Careful readers also debate how far this scene models prayer. Moses' intercession and the support of Aaron and Hur are vivid, and many have drawn lessons from them. Yet the text describes what happened; it does not command a technique or promise that steady arms produce victory. It gives no formula guaranteeing success in any later conflict, and the sworn war against Amalek is God's specific judgment, not a general pledge of safety for our own battles. What the passage does secure is that Yahweh is Israel's banner, that he hears his people's cry, and that he keeps his word across generations.
The raised hands, the chosen man, and the banner
The scene at Rephidim is a battle Israel cannot win by strength alone. Joshua does what Moses tells him and fights in the valley, but the outcome rises and falls with Moses' hands on the hill. When Moses' hands grow heavy, Aaron and Hur put a stone under him and hold his arms up on either side until sunset. Notice who does what: Joshua swings the sword, Moses intercedes, and two men steady the intercessor. The text does not say the raised hands were magic. It says the battle moved with them, and it lets the picture stand.
The passage never calls itself a prophecy, so any link to Christ must be offered as resonance rather than as the text's stated meaning. Still, the shape is familiar: a mediator on a hill whose upheld hands sustain a fight he does not fight himself, and a faithful leader who obeys and prevails. Joshua's name and role point ahead to the greater leader who brings God's people into rest, and the New Testament presents Jesus as greater than Moses. The sworn war against Amalek and the altar named "Yahweh our Banner" show God fighting for a people who could not save themselves, which is the shape of the gospel.
One caution belongs here. The sworn war against Amalek is God's specific judgment on a specific enemy, not a blanket promise that your conflicts will end in victory, safety, or success. What carries over is not the guarantee of winning battles but the pattern of grace: God delivers a people who cannot deliver themselves, and he does it through a mediator and a leader he provides. Moses wrote the account down and built an altar, naming God as the one who fights for Israel. The gospel answers that banner with a cross, where God won the victory his people could not.
What faithful response looks like when the battle is not yours
Amalek comes without warning at Rephidim, and Moses does not rally the people with a speech. He gives Joshua a plain assignment: choose men, go out, fight, and Moses will stand on the hill with God's rod. Joshua does exactly that. The text records no strategy session and no promise of how the day will end. His obedience is specific and ordinary, carried out in the place he was given. That is where most of us are asked to respond too, not in dramatic moments but in the tasks already in front of us, done as though God were watching the outcome. Grace comes first here: God had already brought Israel out of Egypt and given them water before any of this fighting began.
Up on the hill, the battle below rises and falls with Moses' hands. When they are heavy, Aaron and Hur do not preach at him or replace him. They find a stone, seat him on it, and hold his arms steady until sunset. Notice how unglamorous the help is. They are not fighting and not leading; they are keeping one exhausted man upright. The passage honors that. Some of us are Joshua, sent into the work. Some are Aaron and Hur, called to hold up someone who carries a public burden. Neither role comes with a guarantee that the effort will produce the result we want.
Then God tells Moses to write it down, so that Joshua will hear it later, and Moses builds an altar and names it for Yahweh as a banner. The memorial is not a charm against future trouble. The sworn war against Amalek belongs to God's specific word about that people, not to every conflict his people face. Read this passage as a call to obey in your assigned place, to hold up those who are weary, and to write down what God has done so the next generation hears it. The ground is grace: God fights for his people before he asks anything of them.
Biblical fidelity check
The scene is read as narrative, tracking what the text says and refuses to say. It never explains how Moses first met Joshua, only that Moses spoke to him and Joshua obeyed. Physical details carry the weight: lifted hands, heavy hands, a stone to sit on. The risk here is turning description into technique, as if lifted hands guaranteed victory. The text reports what happened; it does not command a method. Amalek's sworn judgment is God's own declared action, not a pattern for churches to copy.
Readers genuinely differ over how to weigh Joshua's fighting against Moses' intercession. Some stress the raised hands as decisive; others stress that Joshua truly fought and won. The text holds both and names no mechanism, so speculation should stay modest. What stays central is that Yahweh is Israel's banner, that he hears his people's cry, and that he keeps his word across generations. The passage offers no formula guaranteeing victory in any later conflict, only the God who swore and acted.
Following the theme of Exodus 17:8-16 through Scripture
Trace how Joshua moves from Rephidim to Sinai to the edge of Canaan in Exodus 17: Water from the Rock and Amalek Defeated, and compare Moses' intercession with the people's testing at Massah in Exodus 18: Jethro's Counsel and Moses' Delegation. Consider what the sworn war against Amalek means for later Israel in Exodus 2: Moses Birth, Flight, and Midian, and how Jethro's arrival in the next chapter frames Moses' leadership in Exodus 32: The Golden Calf and Moses' Plea.
Frequently asked questions
At this point in the story, who was Joshua to Moses?
Joshua was Moses' chosen military commander, a man Moses trusted to pick troops and lead the fight against Amalek while Moses stood on the hill with God's rod. Moses gave him direct orders, and Joshua carried them out, defeating Amalek with the sword. He is also named as the one who would hear the record of God's promise to blot out Amalek, marking him as Moses' successor in leadership.
Why did Moses choose Joshua to lead the fight against Amalek?
Moses chose Joshua because the text shows him as the man Moses could command and who obeyed without argument, and the narrator records it that way without explaining Moses' reasoning. Moses gave Joshua the orders to pick men and go out to fight, and Joshua did exactly as Moses told him (17:9–10). The passage presents Joshua as Moses' trusted lieutenant rather than describing his qualifications. What stays central is that the battle's outcome rested on God, shown by Moses' raised hands and the altar named Yahweh our Banner.
Why did Israel only win the battle while Moses' hands were held up, and what does that mean?
Moses' raised hands were a God-given sign that Israel's victory depended on Yahweh, not on swords or numbers, and the text ties the battle's swing directly to that gesture. Moses could not sustain it alone, so Aaron and Hur seated him on a stone and held his hands until sunset, and Joshua still had to fight with the sword. The passage shows dependent prayer and shared support working alongside ordinary effort, not a technique that guarantees victory.