It's not about military spending at all, which is just in the range of 1-3,5% of GDP. Healthcare is at 11%, and for the US 16%. The difference is that universal healthcare is paid with higher taxes. US enjoy low taxes but pay their healthcare via insurance companies, leading to increased total cost.