Yes, but imagine how much more useful the money would be if the projects were designed to serve primarily civil goals only and not military or dual-use goals. Still, the reality is that the US is doing it that way, and it is hard to ignore. My example would be that MIT receives a lot of funding from the DoD, but it also employs Noam Chomsky. It's a crazy world.