While often wasteful, the military is only 4% of US GDP,[1] and almost 40% of its expenditures is Pay & Benefits.[2] The rest, about $400 Billion, is <2% of the US's ~$21 Trillion economy (real 2019 GDP). It's...interesting...to single that sector of the economy out in particular.
[1] https://data.worldbank.org/indicator/MS.MIL.XPND.GD.ZS?locat...
[2] https://en.wikipedia.org/wiki/Military_budget_of_the_United_...