Gold and the digital currency are in different categories of value. However, bitcoin can still be said to be better than gold due to the fact that by rapidly increasing the cost (price), it provides a much greater profit, which it gives gold from keeping it in any bank.
There are a lot of advantages of these two which we consider as an asset. Bitcoin can do a lot of things that gold can't. Like making transactions online and sending money to different places in just an instant. Bitcoin is also a profitable investment because of its volatility but also because of that they also don't have any assurance unlike with gold which is a lot more stable than bitcoin.