It is the leverage that makes a house worthwhile assuming you would rent the exact same house instead of a more modest apartment.
If I put 20% down and the house appreciates even 3% / year I am gaining 15% / year tax free.
With the new tax law it may make sense to swap houses with your neighbor and rent each others houses. Deduct 100% interest, taxes, maintainence, but also take depreciation. Then you can take losses in the early years against other income and also take full standard deduction.