At the end of the day it is the currency that gets devalued.
So, everything is more expensive over time, by design.
No rich person would have their wealth on a bank account, they would have assets, real things, not some silly currency.