Earlier quoted context omitted.
Academia, Teaching, Charities & Not for profit organisations all improve society and you wouldn't do any of those if you wanted to be rich.
Coming from academia myself, I'd have to say you've been deceived on both counts, there. At an institutional level academic research is all about the money, and the prestige used to bring in more grant money and student-loan money. For instance, I know a professor at a top-tier US university who received an award last year purely for being in the select group who had made the school $1M by bringing in large governmen…
For example, I made more at around five years in to working at Microsoft than I will as a professor unless I manage to make full professor at a top university _and_ run my own lab. Undergraduate starting salaries in this field, from top-tier institutions, are still far above assistant faculty salaries, despite ~8 years less education (a post-doctoral stint is basically mandatory to even get a faculty position interview at this point).
So, even if I made the very top tier of my field and stayed there until senility sets in, it's questionable whether I could ever make up for the lost wages during my re-education. And that's assuming I had never gotten another raise beyond inflation, ever.
At least in CS, you don't go into academia for the money.