At the market level, gold has gained a lot of value, BTC too, BTC is expected to be the most important asset of the future and even so, gold will prevail, I would say that they cannot be compared, there are many intrinsic things that are different between the assets, much less put one against the other or in the form of competition, for me both are safe havens of value.
Capitalization doesn't require any extensive explanation as to how the term is defined. You could argue that the reasons for a certain capitalization to have emerged in the first place is complex and multifactorial. But this is where your post becomes interesting: it took gold thousands of years to build a market cap of say $17 trillion. It took bitcoin 15 years to build a market cap of $1.3 trillion. I am oversimplifying a few matters here, but you get the basic idea. Bitcoin got attacked 1,000s of times, by hackers and we don't even know by whom, but certainly by forks, by alt coins, by governments trying to regulate it to death via prohibition. And it still exists, is thriving and people around the world entrust the network with $1.3 trillion as of now. When people realize that it can handle that amount without taken down, the network is due to grow further.
In other words, the longer history that gold can look back on didn't hold bitcoin back from growing at an impressive pace, unprecedented pace. Considering this is a technology that nobody can ultimately control, I find that quite impressive. There is no person that arbitrates between parties like an Amazon customer care agent, but people started to understand that this job is done by a decentralized network in the fairest manner possible. Fully neutral via algorithmic determination. There can be now judge in the world being as neutral as the bitcoin network. Those things are complex and not easy to grasp for folks who get first involved with it.
Gold is easy, but make no mistake that many people don't know what purposes it serves beyond being used for wedding rings. But compared to bitcoin, I think gold has a lot of flaws. The degree of freedom it provides to you is close to zero if we define freedom by flexibility and capital mobility, being able to leave a country, being able to pay someone across boarders, being able to legally hide value from whomever, being able to protect it from confiscation, being able to split it in smaller units or aggregate it into bigger units as you wish, remain solvent and able to pay for things when your bank accounts got frozen, being able to shift value from inflationary assets to a stable or deflationary asset, being able to anonymously/pseudonymously transact (if you do it correctly), being able to fund causes important to you without getting caught or transactions getting blocked or you getting excluded from the financial system forever, etc....
There are so many things to mention why bitcoin is ahead that in my opinion the history that you are talking about only proves the point I mentioned above. What took gold thousands of years, bitcoin was able to build similar levels of trust in about a decade. We've already entered the range of trillions here. Yes it is still 13x or 14x, but that doesn't matter as much.
That is your opinion and I won't say that your personal, subjective point of view is wrong. But "it is no secret" sounds like quite a superlative to me and I am sure there are people who don't own a single ounce of gold, but thousands of bitcoin. But I would not call them "not smart" or "less smart" than someone who owns both