Yes, adjusted for inflation, gold has done much worse than the media hype would suggest.
Not that one should put all of one’s portfolio into gold. That would be pretty insane. But a certain fixed allocation within a balanced portfolio? I think that makes sense.