Lowth (W.) suggests that there is a reference here “to the custom of kings, who used to confine the chief commanders of their enemies whom they take prisoners and reserve them for some extraordinary day of triumph, and then bring them out to public punishment” (Commentary in loco).