Water from the Rock
17 From the wilderness of Sin the whole congregation of the Israelites journeyed by stages, as the Lord commanded. They camped at Rephidim, but there was no water for the people to drink.(A)2 The people quarreled with Moses and said, “Give us water to drink.” Moses said to them, “Why do you quarrel with me? Why do you test the Lord?”(B)3 But the people thirsted there for water, and the people complained against Moses and said, “Why did you bring us out of Egypt, to kill us and our children and livestock with thirst?”(C)4 So Moses cried out to the Lord, “What shall I do for this people? They are almost ready to stone me.”(D)5 The Lord said to Moses, “Go on ahead of the people and take some of the elders of Israel with you; take in your hand the staff with which you struck the Nile and go.(E)6 I will be standing there in front of you on the rock at Horeb. Strike the rock, and water will come out of it, so that the people may drink.” Moses did so, in the sight of the elders of Israel.(F)7 He called the place Massah[a] and Meribah,[b] because the Israelites quarreled and tested the Lord, saying, “Is the Lord among us or not?”(G)
Amalek Attacks Israel and Is Defeated
8 Then Amalek came and fought with Israel at Rephidim.(H)9 Moses said to Joshua, “Choose some men for us and go out; fight with Amalek. Tomorrow I will stand on the top of the hill with the staff of God in my hand.”(I)10 So Joshua did as Moses told him and fought with Amalek, while Moses, Aaron, and Hur went up to the top of the hill. 11 Whenever Moses held up his hand, Israel prevailed, and whenever he lowered his hand, Amalek prevailed. 12 But Moses’s hands grew heavy, so they took a stone and put it under him, and he sat on it. Aaron and Hur held up his hands, one on either side, so his hands were steady until the sun set. 13 And Joshua defeated Amalek and his people with the sword.
14 Then the Lord said to Moses, “Write this as a remembrance in a book and recite it in the hearing of Joshua: I will utterly blot out the memory of Amalek from under heaven.”(J)15 And Moses built an altar and called it, The Lord is my banner. 16 He said, “A hand upon the banner of the Lord![c] The Lord will have war with Amalek from generation to generation.”