That would be a coin toss, actually.
Between 1981-2006, gold actually lost value in US Dollars.
Between 2006 and 2025 - gold up almost 9X.
Between 2006 and 2025 - Nasdaq 100 up 15X.
The market can and will crash again. The dollar will continue getting weaker as the government keeps printing excess money under DJT. In the long and not so long run gold neither loses nor gains value. It preserves it. As the money loses value, gold maintains value.