Exodus 17:9-11 New International Reader's Version (NIRV)

9. Moses said to Joshua, "Choose some of our men. Then go out and fight against the Amalekites. Tomorrow I will stand on top of the hill. I'll stand there with the staff of God in my hands."

10. So Joshua fought against the Amalekites, just as Moses had ordered. Moses, Aaron and Hur went to the top of the hill.

11. As long as Moses held his hands up, the Israelites were winning. But every time he lowered his hands, the Amalekites began to win.

Exodus 17