“throwing money at the military” has resulted in a lot of waste and inefficiency. You’re assuming that the throwing money indiscriminately at the military is the reason for its strength and success when as others have pointed out it is probably other factors. Furthermore, who is to say that a different approach (i.e. not just throwing money at the military) would also have had the same effect?
The war on poverty started in the mid-60’s. We have spend 21 trillion dollars to reduce poverty and guess what? There are more poor people. Here is a link to an article in Forbes magazine that states the War on Poverty wasn’t a failure, it was a catastrophe.
forbes.com/sites/louiswoodhill/2014/03/19/the-war-on-poverty-wasnt-a-failure-it-was-a-catastrophe/
Why did the war on poverty fail? In short, it gave an incentive for people to be “poor.” It basically subsidized poverty.
Regarding education funding, why is it that even though we spend more and more $$ per student, it doesn’t result in higher test scores or higher graduation rates? Could the answer be that there are other factors that decide educational success than mere funding - such as family life/environment?

Too often we measure our concern for problems by how much money we throw at the problem, when the money does no good (or worse). It is so simple to measure success by the level of funding - like taking the easy way out. And even easier when all you have to do is take more and more money from the taxpayers to do this. I think there are other solutions.
Ishii