Exodus 17:10-11
Exodus 17:10-11 ASV
So Joshua did as Moses had said to him, and fought with Amalek: and Moses, Aaron, and Hur went up to the top of the hill. And it came to pass, when Moses held up his hand, that Israel prevailed; and when he let down his hand, Amalek prevailed.