Water in the Rock

1 Then all the congregation of the sons of Israel journeyed by stages from the wilderness of 1Sin, according to the command of the LORD, and camped at 2Rephidim, and there was no water for the people to drink.
2 Therefore the people 3quarreled with Moses and said, "Give us water that we may drink." And Moses said to them, "4Why do you quarrel with me? 5Why do you test the LORD?"
3 But the people thirsted there for water; and they 6grumbled against Moses and said, "Why, now, have you brought us up from Egypt, to kill us and our children and 7our livestock with thirst?"
4 So Moses cried out to the LORD, saying, "What shall I do to this people? A 8little more and they will stone me."
5 Then the LORD said to Moses, "Pass before the people and take with you some of 9the elders of Israel; and take in your hand your staff with which 10you struck the Nile, and go.
6 "Behold, I will stand before you there on the rock at 11Horeb; and 12you shall strike the rock, and water will come out of it, that the people may drink." And Moses did so in the sight of the elders of Israel.
7 He named * the place 13Massah and 14Meribah because of the quarrel of the sons of Israel, and because they 15tested the LORD, saying, "Is the LORD among us, or not?"

Amalek Fought

9 So Moses said to 18Joshua, "Choose men for us and go out, fight against Amalek. Tomorrow I will station myself on the top of the hill with 19the staff of God in my hand."
10 Joshua did as Moses told him, and fought against Amalek; and Moses, Aaron, and 20Hur went up to the top of the hill.
11 So it came about when Moses held his hand up, that Israel prevailed, and when he let his hand down, Amalek prevailed.
12 But Moses' hands were heavy. Then they took a stone and put it under him, and he sat on it; and Aaron and Hur 21supported his hands, one on one side and one on the other. Thus his hands were steady until the sun set.
13 So Joshua overwhelmed Amalek and his people with the edge of the sword.
14 Then the LORD said to Moses, "22Write this in a book as a memorial and recite * it to Joshua, that 23I will utterly blot out the memory of Amalek from under heaven."
15 Moses built an 24altar and named * it 25The LORD is My Banner;
16 and he said, "26The LORD has sworn * *; the LORD will have war against Amalek from generation to generation."