Exodus 17:7-11 Holman Christian Standard Bible (HCSB)

7. He named the place Massah and Meribah because the Israelites complained, and because they tested the Lord, saying, “Is the Lord among us or not? ”

8. At Rephidim, Amalek came and fought against Israel.

9. Moses said to Joshua, “Select some men for us and go fight against Amalek. Tomorrow I will stand on the hilltop with God’s staff in my hand.”

10. Joshua did as Moses had told him, and fought against Amalek, while Moses, Aaron, and Hur went up to the top of the hill.

11. While Moses held up his hand, Israel prevailed, but whenever he put his hand down, Amalek prevailed.

Exodus 17