Joshua defeated Amalek and his army using swords.