The verse says (Shemos 17:13): And Yehoshua weakened Amalek and his nation in accordance with the sword.
Who did he weaken exactly - what's the difference between Amalek and his nation? Or is there a different antecedent of "his"?
Also why לפי חרב, if the meaning is with the sword, בחרב is much clearer?