That would depend on if you had a basket of stocks representative of the whole market and rebalanced your portfolio throughout a downturn (not common at all). Companies can and do go bankrupt. Historically, the same has been true of Bitcoin, where it always recovers to a new base.