1 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 camped in Rephidim: and there was no water for the people to drink. 2 Therefore the people did strive with Moses, and said, Give us water that we may drink. And Moses said unto them, Why do you strive with me? why do you test the LORD?
3 And the people thirsted there for water; and the people murmured against Moses, and said, Why is this that you have 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 are almost ready to stone me.
5 And the LORD said unto Moses, Go on before the people, and take with you of the elders of Israel; and your rod, with which you smote the river, take in your hand, and go. 6 Behold, I will stand before you there upon the rock in Horeb; and you shall strike 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 striving 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: tomorrow I will stand on the top of the hill with the rod of God in my 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 on it; and Aaron and Hur held 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 slaughtered 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.