Gold is not a suitable comparison to stocks - it gets brought up on here all the time. Gold is not uncorrelated to the market. Gold is not a store of value. Gold is a speculative investment with a great marketing team.
Gold has two things going for it: there's a baseline of "real" value underpinning it (not just industrial use, but lots of fast-growing Asian countries relying on it for dowries etc), and historically gold holds up quite well when everything else is doing badly. However, it's also fundamentally unproductive (no dividends, no real capital growth), so it's going to be a losing bet most of the time.