Also, it's worth noting that building a house isn't a hole that you throw money into, it's an asset that appreciates.
I have had a few friends who were in that position because they had to move but couldnt sell their houses (2008-2014 era roughly). They would have been better off taking the loss on leaving it empty after taking out loans to undo the damage done.
Sometimes this is masked, by regular maintenance, retrofits, and repairs. But if left to pot, a house is eventually worthless, then even a cost, for the new owner has to tear it down and rebuild.
Land appreciates. A house costs.