Ask the people that bought gold in the late 70s how safe their investments were. Gold prices crashed in 1981 and never rebounded until the gold bugs returned in the mid-2000s.
Commodities and currencies fluctuate against each other. Over longer terms, the value of currencies tends towards zero. Everything depends on the time frame you are looking at.
Dollars originally were redeemable in gold. But because of inflation of the money supply (i.e. creating more dollars) the US didn't have enough gold to pay their outstanding debt (i.e. the dollars out there being held by other countries).
So Nixon was forced to sever the dollar's tie with gold in 1971. At that point the dollar is a fully flexible (or fiat) currency.
Look at the price of gold in that chart since 1971.
That's not the value of gold going up. It's the value of the dollar going down.
Gold supply is relatively stable. It takes investment and time to mine new gold, so only a small amount is introduced into the economy each year.
New dollars are added to the economy at a terrifying rate. Every fiat currency in the history of mankind has always gone to zero.
Precious metals are much safer than US debt.
Most tangible things (metals, real estate, income producing businesses) are safer than currencies that can be created out of thin air.