This, 100x over. You invest 1 million USD in a house. The house loses 90% of it's value. You still own the house. You can live in it, hopefully you get some benefit from the investment, even if it has no market value.
You invest 1 million USD in the stock market. It loses 90% of it's value. You basically have nothing but a tax write off on future gains.