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,
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.
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.