In many aspects, Bitcoin is better than gold.
1. Gold is scarce, Bitcoin has a fixed amount.
2. Gold is hard to store, Bitcoin is stored in the blockchain, like in thin air.
3. It is hard to cross international borders carrying gold. With Bitcoin, nobody knows you've got some.
4. Gold could easily be seized. With Bitcoin, it could die with you.
5. With gold, there is the possibility that miners could go out of space and harvest all they want. With Bitcoin, there will only be 21 million even after a thousand years.
So we could probably say that Bitcoin is a better and more reliable store of value than gold.
Have you considered the risk in the internet space?, The internet is considered a dangerous place that is always lurking and attacking us even when we don't know we are being attacked. Maybe you have a hardware wallet that is secure enough to store bitcoins but that doesn't mean you will be 100% safe holding bitcoin. Not to mention the accidents that cause you to lose your private key due to natural disasters, fires... everyday accidents can still cause you to lose your private key. Can't say which is more secure, it all depends on how we store them.
Bitcoin is a very volatile asset, gold is much more stable so I don't think bitcoin is a better store of value than gold. Bitcoin is a better investment than gold.