Look up the staggering amount of everyday conveniences invented by space exploration. Theoretically the private market would’ve filled this gap, but in practice we know the market will never be willing to spend the first few trillions on foundational research.
I am all for space exploration, but just in the interest of fairness, I would be surprise if the innovations for the entirety of space exploration approaches even 10% of what the US military has developed.