Joshua acted in accordance with these commands and set out against Amalek, to conquer whom required not only skillful strategy, but also adeptness in the art of magic. For Amalek was a great magician and knew that propitious and the unpropitious hour of each individual, and in this way regulated his attacks against Israel; he attacked that one at night, whose death had been predicted for a night, and him whose death had been preordained for a day did he attack by day.

But in this art, too, Joshua was his match, for he, too, knew how to time properly the attack upon individuals, and he destroyed Amalek, his sons, the armies he himself commanded, and those under the leadership of his sons. But in the very heat of battle, Joshua treated his enemies humanely, he did not repay like with like. Far was it from him to follow Amalek's example in mutilating the corpses of the enemy. Instead with a sharp sword he cut off the enemies' heads, an execution that does not dishonor.