Exodus 17:10-11
Exodus 17:10-11 NCV
Joshua obeyed Moses and went to fight the Amalekites, while Moses, Aaron, and Hur went to the top of the hill. As long as Moses held his hands up, the Israelites would win the fight, but when Moses put his hands down, the Amalekites would win.