Joshua did as Moses told him: he engaged Amalek in battle while Moses, Aaron, and Hur climbed to the top of the hill.