Of course. But the point is that different types of people are attracted to each.
There are people trained in science or math who are attracted by money - but they don't work in their field, they work at Wall Street or its equivalent abroad. They trained in their field not because they're excited by discovery, but because they know that the owner class will pay them well to prostitute their training!
Do the research if you still don't believe me. Try to find people who are motivated by money who are trained AND working in creative/scientific fields. I doubt that you could find 100 in the US, possibly not even 100 in all the world.
For the vast majority of people, money is a "hygiene" item: it's important up to where people have their needs met and have a few luxuries, and then it abruptly stops being important. Once that cutoff point is reached, people won't bother to change jobs just for more money - they have to be offered something more important, like control over their work, sabbatical years, edu, etc.
But really, do the research yourself. Information is plentiful - motivation is one of the most-studied subfields in psychology.
"Shoddy" is the sole product of the profit motive.