There is a difference between 1) doing something valuable that is then rewarded with money through market mechanics and 2) maximizing money as an end in itself. The former is a great feature of capitalism, the latter is its tragedy and Achilles heel.
In the first case, money is important (if you completely ignore it, you can’t deliver value sustainably), but in a perfect world it should be more like fuel and an indicator that you are doing something right.