I will be standing there in front of you on the rock at Horeb. Strike the rock, and water will come out of it, so that the people may drink." Moses did so, in the sight of the elders of Israel.
He called the place Massah and Meribah, because the Israelites quarreled and tested the Lord, saying, "Is the Lord among us or not?"
Then Amalek came and fought with Israel at Rephidim.
Moses said to Joshua, "Choose some men for us and go out, fight with Amalek. Tomorrow I will stand on the top of the hill with the staff of God in my hand."
So Joshua did as Moses told him, and fought with Amalek, while Moses, Aaron, and Hur went up to the top of the hill.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.