So Joshua did as Moses had said to him and fought against Amalek. And Moses, Aaron, and Hur went up to the top of the hill.