4 Then Moses cried out to the Lord, saying: "What shall I do with this people? A little while more and they will stone me."
5 And the Lord said to Moses: "Go before the people, and take with you some of the elders of Israel. And take in your hand the staff, with which you struck the river, and advance.
6 Lo, I will stand in that place before you, on the rock of Horeb. And you shall strike the rock, and water will go forth from it, so that the people may drink." Moses did so in the sight of the elders of Israel.
7 And he called the name of that place 'Temptation,' because of the arguing of the sons of Israel, and because they tempted the Lord, saying: "Is the Lord with us, or not?"
8 And Amalek came and fought against Israel at Rephidim.
9 And Moses said to Joshua: "Choose men. And when you go out, fight against Amalek. Tomorrow, I will stand at the top of the hill, holding the staff of God in my hand."
10 Joshua did as Moses had spoken, and he fought against Amalek. But Moses and Aaron and Hur ascended to the top of the hill.