One of my favorite parts about Apollo and Kennedys involvement specifically is the very deliberate choice to make it a civil program. The question wasn't if we needed to put effort into demonstrating superiority in space or not. The question was to do it as a military or civil program.
Point is, a country can accomplish a lot of the same things in different ways just by varying to which government agency we give resources.
I would rather go to space on a peaceful, multi country mission, not on a military weapon. I also would rather give our public resources to first responders, medical workers, emts, fire fighters and other civil servants than to our military. We reap what we sow.
Edited - typo
It almost definitely has nefarious abilities, but it's main purpose is probably materials science they can't test on the ISS (military gear)
However, reducing the number of pilots/planes mean fewer training missions and reducing the military headcount reduces the need for recruitment.
I'm not a fan of constant military displays at sporting events, but the argument is usually shut down very quickly as required flight-time and as recruitment. I was trying to turn that into a more productive direction.