Exodus 17:2-9

2 aTherefore the people quarreled with Moses and said, “Give us water to drink.” And Moses said to them, “Why do you quarrel with me? Why do you btest the Lord?” 3But the people thirsted there for water, and cthe people grumbled against Moses and said, “Why did you bring us up out of Egypt, to kill us and our children and our livestock with thirst?” 4So Moses cried to the Lord, “What shall I do with this people? They are almost ready dto stone me.” 5And the Lord said to Moses, “Pass on before the people, taking with you some of the elders of Israel, and take in your hand the staff with ewhich you struck the Nile, and go. 6 fBehold, I will stand before you there on the rock at Horeb, and you shall strike the rock, and water shall come out of it, and the people will drink.” And Moses did so, in the sight of the elders of Israel. 7And he called the name of the place gMassah
 Massah means testing
and iMeribah,
 Meribah means quarreling
because of the quarreling of the people of Israel, and because they tested the Lord by saying, “Is the Lord among us or not?”

Israel Defeats Amalek

8 kThen Amalek came and fought with Israel at Rephidim. 9So Moses said to lJoshua, “Choose for us men, and go out and fight with Amalek. Tomorrow I will stand on the top of the hill with mthe staff of God in my hand.”
Copyright information for ESV