You have to consider the role the US military. It functions as a security force for all of North America, South Korea, Japan, EU, etc. It's easy to be snarky about US defense spending when your own country doesn't have to spend much due to the US protecting your shit and maintaining world peace.