1. All the assembly of the children of Israel set out from the desert of Sin, by the stages that Yahweh commanded them, and they camped at Rephidim, where the people found no water to drink.
2. Then the people quarreled with Moses, saying: “Give us water to drink.” Moses answered them: “Why do you quarrel with me? Why do you put Yahweh to the test?”
3. And the people were there, tormented by thirst, and they murmured against Moses; they said: “Why have you brought us up out of Egypt, to make us die of thirst with my children and my flocks?”
4. Moses cried out to Yahweh, saying: “What shall I do with this people? A little more, and they will stone me!”
5. Yahweh said to Moses: “Pass on before the people and take with you some of the elders of Israel; take also in your hand your staff, with which you struck the river, and go.
6. Behold, I will stand before you on the rock that is in Horeb; you shall strike the rock, and water shall come out of it, and the people shall drink.” Moses did so in the presence of the elders of Israel.
7. And he gave this place the name of Massah and Meribah, because the children of Israel had quarreled, and because they had put Yahweh to the test, saying: “Is Yahweh among us, or not?”
8. Amalek came and attacked Israel at Rephidim.
9. And Moses said to Joshua: “Choose men for us, and go fight Amalek; tomorrow I will stand on the top of the hill, with the staff of God in my hand.”
10. Joshua did as Moses had told him, and fought Amalek. And Moses, Aaron and Hur went up to the top of the hill.
11. When Moses held up his hand, Israel prevailed, and when he let his hand fall, Amalek prevailed.
12. As Moses’ hands grew weary, they took a stone and put it under him, and he sat on it; and Aaron and Hur held up his hands, one on one side, the other on the other; so his hands remained steady until the sun went down.
13. And Joshua defeated Amalek and his people with the edge of the sword.
14. Yahweh said to Moses: “Write this as a memorial in the book, and declare to Joshua that I will blot out the memory of Amalek from under heaven.”
15. Moses built an altar, and named it Yahweh-Nissi 16. and he said: “Since a hand has been raised against the throne of Yahweh, Yahweh is at war with Amalek from age to age.”