9 And Moses said to Joshua, Choose us out men, and go out, fight with Amalek: to-morrow I will stand on the top of the hill with the rod of God in my hand.
10 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.
11 And it came to pass, when Moses held up his hand, that Israel prevailed: and when he let down his hand, Amalek prevailed.
12 But Moses's hands were heavy; and they took a stone, and put it under him, and he sat upon it: and Aaron and Hur supported his hands, the one on the one side, and the other on the other side; and his hands were steady until the going down of the sun.
13 And Joshua discomfited Amalek and his people with the edge of the sword.
14 And the LORD said to Moses, Write this for a memorial in a book, and rehearse it in the ears of Joshua: for I will utterly blot out the remembrance of Amalek from under heaven.
15 And Moses built an altar, and called the name of it JEHOVAH-nissi: