That is a very narrow view of advancing society
But in a high interest rate environment some ideas just arent worth exploring.
Government funding can help with things that we decide are good for society, but not quite profitable financially.
Examples: CDC lead exposure research, Earthquake Early Warning System… even the tech we use today came out of non-commercialized funding (NIST Post-Quantum Cryptography and ARPANET).