Presumably then, the researchers who get the most funding would be the ones who are the best at writing grant proposals, and they may or may not be doing the best research or researching the most important things. In theory, there could be brilliant researchers working on important things who don't get any money because they lack the ability to persuade people to give it to them.
One of my "if I had a billion dollars" dreams is to set up a foundation that would randomly award research grants to field of qualified applicants.
I think it's the same problem with elections. Governing and campaigning are two different skills. Elections elect people who are good at campaigning, but may or may not be good at governing.