Moses said to Joshua, “Choose some men for us, and go out and fight against Amalek. Tomorrow I will stand on top of the hill with the staff of God in my hand.”
In context
7He named the place Massah and Meribah, because the Israelites quarreled there, and because they tested Yahweh, saying, “Is Yahweh among us, or not?” 8Then Amalek came and attacked Israel at Rephidim. 9Moses said to Joshua, “Choose some men for us, and go out and fight against Amalek. Tomorrow I will stand on top of the hill with the staff of God in my hand.” 10Joshua did as Moses had told him and fought against Amalek, while Moses, Aaron, and Hur went up to the top of the hill. 11Whenever Moses raised his hand, Israel prevailed, and whenever he lowered his hand, Amalek prevailed.