everyone knows that if you want to improve your economy increase prepare for war.

      Military spending does nothing for the economy. The gains are short term and in the end most of what you build gets turned into the worlds most expensive razor blades.  The answer to the fact that the Chinese have the worlds fastest supercomputer is not building more types of sniper rifles(the Americans have over 40 types) it's funding basic research etc.