And all the congregation of the sons of Israel set out from the wilderness of Sin according to their camps by the command of the Lord, and they camped in Raphidim; but there was no water for the people to drink.
And the people were quarreling with Moses, saying, Give us water, so that we may drink. And Moses said to them, Why are you quarreling with me, and why are you testing the Lord?
And the people thirsted there for water, and the people were grumbling there against Moses, saying, Why is this that you brought us up out of Egypt, to kill us and our children and our livestock with thirst?
And the Lord said to Moses, go before this people, and take with you from the elders of the people, and the rod with which you struck the river, take in your hand, and you shall go.
Behold, I am standing there before you on the rock in Horeb, and you shall strike the rock, and water shall come out from it, and the people shall drink. And Moses did thus before the sons of Israel.
And he named the name of that place Testing and Reproach because of the reproach of the sons of Israel and because of their testing the Lord, saying, Is the Lord among us or not?
And Moses said to Joshua, Choose for yourself strong men, and go out, draw up in battle array against Amalek tomorrow; and behold, I stand on the top of the hill, and the rod of God in my hand.
And Joshua did just as Moses said to him, and going out he drew up in battle array against Amalek; and Moses and Aaron and Hur went up to the top of the hill
But the hands of Moses were heavy, and having taken a stone, they put it under him, and he sat on it; and Aaron and Hur supported his hands, here one and there one, and the hands of Moses became steady until sunset.
And the Lord said to Moses, Write this as a memorial in a book, and put it in the ears of Joshua, because I will utterly blot out the memory of Amalek from under heaven.