Housing in the US has gotten to where it is due to horrible laws effectively allowing total tax avoidance for landlords. Take some investment property. You buy it at some basis price, let's say 500k. You rent it out for 15k a year. Each year you can offset your rental income against deprecation of the property and property taxes - meaning, you pay no income tax on your rental income. ~30 years later, you've deprecate…
You don't write off your rental income. You depreciate the rental property over 27½ years and write that off against your rental income. Few rental properties will have under a 3.7% ROI where depreciation would cover all the income. At best you might be paying half tax. In your example, you'd pay no tax, but you'd lose out on the potential income you could have had with better investments (and lose about 6 years' wor…
This is a leveraged investment (meaning you have a mortage). What that means is for your 20% down payment (the actual money you invest), that 3.7% writeoff on income can be an 18.5% cash on cash yield (ROI) in which you pay no taxes, ever. Few properties on the market can get you a better yield than that. If your ultimate yield is less than that you can roll those losses over year over year, so that then later if/when you get more yield you still* don't have to pay any taxes. It's a really big tax loophole and is the reason Donald Trump pays almost nothing in taxes (and he admitted as much in the presidential debate).
*I own 3 properties in buffalo, one of the best rent to value markets in the US, and it's hard to find better yield than that even in that market. https://simplepassivecashflow.com/rv/