Like I said; I'm not sure about all jurisdictions but it's true where I live:
https://www.canada.ca/en/revenue-agency/services/tax/busines...
New York: https://www.tax.ny.gov/pit/letters/rental-loss.htm
https://www.canada.ca/en/revenue-agency/services/tax/busines...
New York: https://www.tax.ny.gov/pit/letters/rental-loss.htm
If only you could do that then I might still be a landlord :-)