Post WW2, both the German and Japanese military were greatly limited, or outright abolished.
The numerous bases of the US around the globe in any country and climate imaginable are not only selfless bastions of people in need - they serve very concrete functions, namely protecting trade routes and political stability in systems that are beneficial to the economy of the US.