At a certain point we have to make choices about what gets funded. Even if you think much more money should be going into science, you still have to decide what takes priority, and you're going to eventually run into some limits. One can take the view (as many seem to) that if it's science it should be funded, but that's not useful for any discussion of resource allocation. If someone doesn't have a preference, then it makes sense for the people who do have preferences to decide.
Also keep in mind that some scientific endeavors can make other ones much more productive, so prioritizing things correctly can increase the overall output by a large amount (and neglecting to prioritize things correctly can significantly slow output).
Also keep in mind that some scientific endeavors can make other ones much more productive, so prioritizing things correctly can increase the overall output by a large amount (and neglecting to prioritize things correctly can significantly slow output).