Extending my prior post chart data back further, to the 1790's ....
Pre 1930's and gold was money. Sovereign Pound gold coins, alongside Pound Notes paper money, where banks accepted/converted them directly as desired, guaranteed. Gold being finite and inflation broadly averaged 0%. Bonds tended to yield comparable rewards to stocks, and most savers wouldn't keep surplus sovereigns or pound notes at home, but deposit them in return for interest. There was little interest in stocks, as they were for speculators/gamblers, and after factoring in the risk adjusted rewards were less 'safe' than holding bonds.
(ST = short term treasury rate)
From the 1930's (1931 UK, 1933 US), gold/money convertibility ended, prior broadly flat inflation turned into predominately positive inflation, after taxes and inflation bonds (and gold) broadly tended to yield 0% real, but in a volatile manner. In effect the state no longer had to pay real rates of return to borrow gold/money as they had had to prior to the ending of the gold standard (gold as money).
A present day investor might hold 60/40 stock/bonds, or 60/40 stock/gold to broadly similar overall effect
PV (US data), but again with volatility/variations so you might select periods to suggest one or the other being the better/worse. A factor with gold however is that physical in-hand gold has no counter-party risk, and no regular income taxation risk, unlike bonds where the interest might be taxed at perhaps a 20% rate. Cash on deposit when there are bank runs can be 'uncomfortable', or you may even have to wait months to get your money back. When you deposit money into a bank it becomes the banks money, with your name registered in their books as a creditor. You're lending your money to the bank at whatever interest rate they offer, that is eroded by both inflation and taxation.
Bitcoins are another asset outside of the regular financial system. For me personally however I'm not fond of it, but it has its potential uses. One could for instance locally sell physical gold for bitcoin, whilst simultaneously taking out a short bit coin position to negate its volatility, and then use those bitcoins wherever else in the world to perhaps buy back physical gold and close that short bitcoin position. Which for instance might side step restrictions put in place on the amounts of money that you might otherwise take out of the country.