Joshua discomfited Amalek and his people - Amalek might have been the name of the ruler of this people continued down from their ancestor, (see Clarke on Exo 17:8 (note)), as Pharaoh was the name of all succeeding kings in Egypt. If this were the case, then Amalek and his people mean the prince and the army that fought under him. But if Amalek stand here for the Amalekites, then his people must mean the confederates he had employed on this occasion.