Yehoshua was one of Israel's greatest leaders because he represented the ideal expression of the Yosef force - one consciously rooted in, guided by and completely subordinate to the Hebrew mission.
Battling Amalek presents an important warning to any Jewish military leader that there is a need to maintain a basic respect for what it means to be human, even when dealing with mortal enemies.