Then came Am'alek and fought with Israel at Reph'idim.
And Moses said to Joshua, "Choose for us men, and go out, fight with Am'alek; tomorrow I will stand on the top of the hill with the rod of God in my hand."
So Joshua did as Moses told him, and fought with Am'alek; and Moses, Aaron, and Hur went up to the top of the hill.
Whenever Moses held up his hand, Israel prevailed; and whenever he lowered his hand, Am'alek prevailed.
But Moses' hands grew weary; so they took a stone and put it under him, and he sat upon it, and Aaron and Hur held up his hands, one on one side, and the other on the other side; so his hands were steady until the going down of the sun.
And Joshua mowed down Am'alek and his people with the edge of the sword.