Only if there were margin calls on real estate loans (there aren’t) of if there were no margin calls or forced selling on brokerage accounts (there are) this would be good advice.
There are margin calls on real estate loans - they aren't nearly as capricious but when mortgages are renegotiated banks will usually refuse to offer a new mortgage if the property is underwater - in that case the bank will generally try to foreclose on the property and recoup the lost mortgage balance through debt collection. This happened all over the place in 2006 and led to the housing bubble.