whole army; whole team
Refers to the entire military force or, by extension, the whole team in a competitive context. Often used in news reports about sports or military operations.
The whole army began to withdraw.
all armies; all teams
Used when referring to multiple armies or teams collectively, e.g., in a tournament or alliance context. Less common than the singular 'whole army/team' sense.
The whole team is training hard aiming for the championship.
All teams from across the country gathered for the tournament.