The alternative view is that the real value of government issued currencies has fallen and Gold just kept going along with its 1.2% yearly inflation due to gold mining.
That the official currencies buy less and less (as I pointed) leans more towards the view that the value of government issued and controller currencies is being inflated away much faster than the value of an ancient currency which is not controlled by any government and only devalues by more of it being mined.
In other words, at medium and long time frames Gold is not an investment asset, it's a store of wealth outside the control of politicians.