Bitcoin mining produces heat, and maintains the bitcoin network. It doesn’t actually increase the supply of anything: the total number of bitcoins is arbitrary. The real value is whatever the network produces (happiness in its hodlers, money laundering, some future use case)
Gold’s utility is: some industrial uses, it looks pretty and has special properties, and if you had to bury some treasure for some descendants in 500 years you could reasonable figure some gold coins would probably be worth something comparable in the future, no maintenance required
That’s about it. Never been a big gold fan but those three uses seem pretty indisputable.
The people arguing for bitcoin present it as a store of value but you need a hell of a lot of costly ongoing maintenance for that. Gold would still have those uses even if all mining stopped. Without mining, bitcoin is defunct, conversely.
Edit: oh yeah, I suppose gold lets you keep some value anonymously and take it with you across borders. I think Bitcoin wins on that count but since I’m listing the uses of gold I shouldn’t omit that. There may be others I’m forgetting