The Israelites out-fought the Amalekites as long as Moses held up his arms, but they started losing whenever he had to lower them.