If you buy assets, they'll generally keep pace with inflation (with some fluctuation, depending on which assets you've bought.)
If you engage in productive investment of some sort, you'll generally beat inflation and acquire wealth, which is certainly a desired effect.
If you try to sit on your money, investing in nothing, doing nothing, it will dwindle away. And most people in society are pretty happy with that, because it really means "if you're rich, that's fine... but if you want to stay rich you need to continue contributing to society, if only by loaning others your money for a return."