And inflation is why you want to select investments that generate returns in excess of inflation.  Which is why investors and economists will talk in terms of real and nominal rates of return.

Long term (past 100 years) average inflation rate in the US is around 3.2%.  Long term average rate of return is around 10% for a real return of about 7%.  You can even check Investopedia for confirmation.