So Joshua and the men with him completely defeated the Amalek people-group, using their swords to fight against them.