So Joshua overwhelmed Amalek and his army with the sword.