Investments in bank deposits, money-market funds, bonds, mortgages, and other such instruments are considered comparatively safe. But these instruments destroy your purchasing power, even as you continue to receive timely payments of interest and principal.
Compare net present value of the returns after adjusting for inflation and tax. Invest only if it gives you positive net present value.
If you want to learn more check out these resources: