This is true for short term store of value. Both gold & Bitcoin are doing terrible. In the medium/long term gold & Bitcoin have been historically very good store of value assets
In the long term, real estate and stocks have done much better than gold and in the short term fiat money is more useful.
Gold was important at the time where balances were done manually and purchases between countries were settled with physical gold.
(And no, this is not a defense of bitcoin. Bitcoin has to be much more liquid and stable for it to work as a store of value)