Just like gold, in fact, during a recession and bank failures Bitcoin may just perform very well, because it has limited quantity, it is decentralized, and it is relatively decorrelating from traditional financial markets.
Gold is a strong store of value, well stronger than bitcoin, it is also a safe haven asset and it has been for a very long time now. Bitcoin on the other hand is not an old asset, but it has definitely survived some harsh economic situations, like the Covid pandemic for example, so bitcoin is also a store of value and it is expected to retain its value during a recession, but we'll see what happens further down the years and well into the future.
Definitely that is the advantage of Gold, not just in pandemic, but if you will look World War 2, most countries paid using Gold and there are a lot of banks that established after the War to have a lot of Gold stash in them by people or by the government itself.
Bitcoin hasn't been tested but only in the pandemic but still they really do good. I can recall tweets about people saying that they will put the stimulus money that they got from the government into Bitcoin and for sure it has return many folds already in the bull run of 2021.