Notwithstanding needing a military for geopolitical purposes, the government could also create jobs by repairing/rebuilding infrastructure like bridges, locks, public transit, rail lines, etc.
Is a bunch of tanks more or less useful than replacing a >50 year old bridge?