Exodus 17:8, 9, 10, 11, 12, 13, 14, 15, 16
Exodus 17:10 ESV
So Joshua did as Moses told him, and fought with Amalek, while Moses, Aaron, and Hur went up to the top of the hill.
Exodus 17:11 ESV
Whenever Moses held up his hand, Israel prevailed, and whenever he lowered his hand, Amalek prevailed.
Exodus 17:16 ESV
saying, “A hand upon the throne of the LORD! The LORD will have war with Amalek from generation to generation.”