Wouldn't that be nice. Like in StarGate SG-1, where a lot of things in the military budget fronted for the US pax-americaning our galactic neighbourhood and bringing useful tech back.
Alas, I worry that the secret space program is merely the rare not-totally-worthless exception to the overall rule.
The overall rule: most US military spending is utterly wasted to line the pockets of politicians and the military-industrial complex. It's not useful even for defending the country.
The exception: there will most likely be something useful coming out of a space program. May or may not be useful enough to offset the costs, but it's not going to be a complete waste.
Alas, I worry that the secret space program is merely the rare not-totally-worthless exception to the overall rule.