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 Mer´ibah, 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 Am´alek, and fought with Israel in Reph´idim.
9 And Moses said unto Joshua, Choose us out men, and go out, fight with Am´alek: tomorrow 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 Am´alek: 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, Am´alek prevailed.