I'd like to point out, also, that inflated dollars make the stock market APPEAR to hit new highs, but in fact, that might not be true.
Example:
Let us say 1000 shares of Acme Rockets is worth 10000 in 2010 dollars.
Let us say that the same stock, in 2020, is worth 20000 in 2020 dollars.
BUT, let us stipulate that from 2010 to 2020, there was 150% inflation in the dollar.
So, your stock went up 100% BUT inflation made 2020 dollars worth 66% of 2010 dollars. $20000 * 66% = $13333.
You lost money, even though the stock market went to new highs.
Actually I see that the numbers I used don’t work but the concept does apply anyways