Gold has become an especially valuable product in people's minds after hundreds of thousands of years of development because it is very scarce, has an entity, and can be seen and touched.
Bitcoin, on the other hand, is a cryptocurrency that is virtual, undetectable, and untouchable. Bitcoin is a virtual currency that only lives digitally and can only be obtained online.
When it comes to investment gold is a more stable and less risky asset compared to bitcoin. Bitcoin is more profitable investment than gold, but way riskier. But you can minimize the risk if you have a plan to invest for a long time.
Gold was also a currency in previous centuries before today's fiat money was born. If I remember correctly, the gold payment system has existed since ancient times and was maintained until the 70s of the 20th century.
Both have their pros and cons and have different use cases, so there's no need to compare which is better than the other.
Regarding investing, I would agree with what you said, but about storing assets. In my opinion, I still think bitcoin is safer than gold, if you hold a lot of physical gold, it will not be secure, easy to be noticed by others, can be confiscated by the government, and is extremely difficult to move. But it is much easier to store bitcoins, just remember the seed phrase, you can move or use it anywhere as long as there is an internet connection.