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.