And it came to pass, as long as Moshe held up his yad, that Yisroel prevailed; and when he let down his yad, Amalek prevailed.