Stop comparing gold to equities as if they're competing for the same job. One is a return asset.
The other is insurance on the part of the financial system people assume will never break.
They should be judged completely differently.