8 Then Amalek came and fought against Israel at Rephidim. 9 So Moses said to Joshua, "Choose men for us and go out, fight against Amalek Tomorrow I will station myself on the top of the hill with the staff of God in my hand." 10 Joshua did as Moses told him, and fought against Amalek; and Moses, Aaron, and Hur went up to the top of the hill. 11 So it came about when Moses held his hand up, that Israel prevailed, and when he let his hand down, Amalek prevailed. 12 But Moses' hands were heavy. Then they took a stone and put it under him, and he sat on it; and Aaron and Hur supported his hands, one on one side and one on the other. Thus his hands were steady until the sun set. 13 So Joshua overwhelmed Amalek and his people with the edge of the sword.
14 Then the LORD said to Moses, "Write this in a book as a memorial and recite it to Joshua, that I will utterly blot out the memory of Amalek from under heaven." 15 Moses built an altar and named it The LORD is My Banner; 16 and he said, "The LORD has sworn; the LORD will have war against Amalek from generation to generation."New American Standard Bible (NASB) Copyright © 1960, 1962, 1963, 1968, 1971, 1972, 1973, 1975, 1977, 1995 by The Lockman Foundation