As a landlord that is wrong. You get to deduct the expenses you have for running the property against the rental income, but that's just how business works. Landlords have enormous deductions because operating a property is really expensive.
In fact, you pay higher taxes in a lot of cases. It is very common to give people a property tax deduction/reduction if it's a person's primary residence. Landlords don't get that. Many places also impose direct revenue taxes. So your city/county/state will take several percent of your revenue off the top.
Finally, after higher input taxes, paying all those business expenses, you get to pay income tax on what's left over.
Also, primary residences are subject to a $250k/$500k capital gains exclusion that rental properties do not get.