As the nay sayer, I actually agree with this. Sort of. The job should make you better and should make you worth more on the open market. But the other part is you should have helped the company.
If your only focus is on how you get to make more money, you are doing it wrong. You'll make more money if you make your company make more money. When they don't reward you for making that money, it's time to move on.
Therefore, the most important thing about a job (after acceptable pay and benefits), is how well it's preparing you for you next job.