We could easily 10x the funding and 5x the manpower we throw at STEM research if we actually cared what they produced.
NSF grants distribute 8.5 billion dollars a year, which is less than Major League Baseball (and its Congressionally granted monopoly) makes. The US Congress has directed 75 billion dollars in aid to Ukraine to date.