It seems intuitive to me that as war technology progresses, number of humans becomes less of a factor in military strength, but I know so little about this area that I couldn't guess how greatly alternative educational opportunities impact military applications, nor at what point in the past/future the scale might tip between wanting policies that push more into armed forces vs. no longer being so important (and I assume it would be different for different countries, too).
But I do believe good, free education should be a key part of any country, regardless of whether it helps national défense or not. If that drives up the cost of recruiting people to the armed forces then fine - I'm no fan of them in general, but if people are going to risk their lives potentially in wars then it shouldn't be because their choices were limited to that vs a life of poverty.
I think is a good example of what happens when you do that.