Amalek came with his army to attach the children of Israel while they were camped in Rephidim. Moses told Joshua to choose some men to fight Amalek and his army. Moses said: ”Tomorrow I will stand on top of the hill with the rod of God in my hand:” So Joshua and his men fought with Amalek. And Moses, Aaron, and Hur went to the top of the hill. Moses held up his rod in hand, and Israel was wining, and when he let down his hand, Amalek was wining.
Moses became weary, so Aaron and Hur held up his hands, one on one side and the other on the other side. Moses hands were steady until the sun went down. Joshua and his men defeated Amalek and his army.