Exodus 17:9-16

9 And Moses said to Joshua, Get together a band of men for us and go out, make war on Amalek: tomorrow I will take my place on the top of the hill with the rod of God in my hand.
10 So Joshua did as Moses said to him, and went to war with Amalek: and Moses, Aaron, and Hur went up to the top of the hill.
11 Now while Moses' hand was lifted up, Israel was the stronger: but when he let his hand go down, Amalek became the stronger.
12 But Moses' hands became tired; so they put a stone under him and he took his seat on it, Aaron and Hur supporting his hands, one on one side and one on the other; so his hands were kept up without falling till the sun went down.
13 And Joshua overcame Amalek and his people with the sword.
14 And the Lord said to Moses, Make a record of this in a book, so that it may be kept in memory, and say it again in the ears of Joshua: that all memory of Amalek is to be completely uprooted from the earth.
15 Then Moses put up an altar and gave it the name of Yahweh-nissi:
16 For he said, The Lord has taken his oath that there will be war with Amalek from generation to generation.

Exodus 17:9-16 Meaning and Commentary

INTRODUCTION TO EXODUS 17

The children of Israel coming to Rephidim, want water, and chide with Moses about it, who, crying to the Lord, is bid to smite the rock, from whence came water for them, and he named the place from their contention with him, Ex 17:1-7 at this place Amalek came and fought with Israel, who, through the prayer of Moses, signified by the holding up of his hands, and by the sword of Joshua, was vanquished, Ex 17:8-13, for the remembrance of which it was ordered to be recorded in a book, and an altar was built with this inscription on it, "Jehovahnissi": it being the will of God that Amalek should be fought with in every generation until utterly destroyed, Ex 17:14-16.

The Bible in Basic English is in the public domain.