Exodus 17 Authorized (King James) Version (AKJV)
17 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. 2 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? 3 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? 4 And Moses cried unto the Lord, saying, What shall I do unto this people? they be almost ready to stone me. 5 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. 6 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. 7 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?
8 Then came Amalek, and fought with Israel in Rephidim. 9 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. 10 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. 11 And it came to pass, when Moses held up his hand, that Israel prevailed: and when he let down his hand, Amalek prevailed. 12 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. 13 And Joshua discomfited Amalek and his people with the edge of the sword. 14 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. 15 And Moses built an altar, and called the name of it Jehovah-nissi: 16 for he said, Because the Lord hath sworn that the Lord will have war with Amalek from generation to generation.
Exodus 17 New International Version (NIV)
Water From the Rock
17 The whole Israelite community set out from the Desert of Sin, traveling from place to place as the Lord commanded. They camped at Rephidim, but there was no water for the people to drink. 2 So they quarreled with Moses and said, “Give us water to drink.”
Moses replied, “Why do you quarrel with me? Why do you put the Lord to the test?”
3 But the people were thirsty for water there, and they grumbled against Moses. They said, “Why did you bring us up out of Egypt to make us and our children and livestock die of thirst?”
4 Then Moses cried out to the Lord, “What am I to do with these people? They are almost ready to stone me.”
5 The Lord answered Moses, “Go out in front of the people. Take with you some of the elders of Israel and take in your hand the staff with which you struck the Nile, and go. 6 I will stand there before you by the rock at Horeb. Strike the rock, and water will come out of it for the people to drink.” So Moses did this in the sight of the elders of Israel. 7 And he called the place Massah[a] and Meribah[b] because the Israelites quarreled and because they tested the Lord saying, “Is the Lord among us or not?”
The Amalekites Defeated
8 The Amalekites came and attacked the Israelites at Rephidim. 9 Moses said to Joshua, “Choose some of our men and go out to fight the Amalekites. Tomorrow I will stand on top of the hill with the staff of God in my hands.”
10 So Joshua fought the Amalekites as Moses had ordered, and Moses, Aaron and Hur went to the top of the hill. 11 As long as Moses held up his hands, the Israelites were winning, but whenever he lowered his hands, the Amalekites were winning. 12 When Moses’ hands grew tired, they took a stone and put it under him and he sat on it. Aaron and Hur held his hands up—one on one side, one on the other—so that his hands remained steady till sunset. 13 So Joshua overcame the Amalekite army with the sword.
14 Then the Lord said to Moses, “Write this on a scroll as something to be remembered and make sure that Joshua hears it, because I will completely blot out the name of Amalek from under heaven.”
15 Moses built an altar and called it The Lord is my Banner. 16 He said, “Because hands were lifted up against[c] the throne of the Lord,[d] the Lord will be at war against the Amalekites from generation to generation.”
Exodus 17 New Living Translation (NLT)
Water from the Rock
17 At the Lord’s command, the whole community of Israel left the wilderness of Sin[a] and moved from place to place. Eventually they camped at Rephidim, but there was no water there for the people to drink. 2 So once more the people complained against Moses. “Give us water to drink!” they demanded.
“Quiet!” Moses replied. “Why are you complaining against me? And why are you testing the Lord?”
3 But 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?”
4 Then Moses cried out to the Lord, “What should I do with these people? They are ready to stone me!”
5 The 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. 6 I will stand before you on the rock at Mount Sinai.[b] Strike the rock, and water will come gushing out. Then the people will be able to drink.” So Moses struck the rock as he was told, and water gushed out as the elders looked on.
7 Moses 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
8 While the people of Israel were still at Rephidim, the warriors of Amalek attacked them. 9 Moses commanded Joshua, “Choose some men to go out and fight the army of Amalek for us. Tomorrow, I will stand at the top of the hill, holding the staff of God in my hand.”
10 So 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. 11 As long as Moses held up the staff in his hand, the Israelites had the advantage. But whenever he dropped his hand, the Amalekites gained the advantage. 12 Moses’ arms soon became so tired he could no longer hold them up. So Aaron and Hur found a stone for him to sit on. Then they stood on each side of Moses, holding up his hands. So his hands held steady until sunset. 13 As a result, Joshua overwhelmed the army of Amalek in battle.
14 After 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.” 15 Moses built an altar there and named it Yahweh-Nissi (which means “the Lord is my banner”). 16 He said, “They have raised their fist against the Lord’s throne, so now[c] the Lord will be at war with Amalek generation after generation.”