So Joshua destroyed Amalek and his army with the sword. 