Little did I know when I went to claim the loss on my taxes: I could not claim the loss at all. Since it was an owner occupied house and not a house owned by a corporation, it did not count as a loss I could deduct from my income nor from my capital gains.
Houses are meant to trap and enslave common people. It decreases their mobility and roots them in areas they otherwise would want to leave. When you gain money from a house, there are all kinds of benefits. When you lose money as an owner, there are no protections for you.
The system is a racket designed to continuously inflate home prices.
Everyone participating in it should be ashamed for making their children serfs & homeless while they live in castles.