Talk all your want about how landlord isn't a real job and just lets the rich accumulate more wealth easily. I tend to agree.
But holding everything else the same, if you do something to raise the cost of renting out a property, that makes rents go up. It's not a moral question.
Don't want rents to go up? Do something different.
It doesn't matter if you think landlords are greedy. Of course they are! If you had the opportunity to earn money being a landlord, you would do it to! You will not shame them into lowering rents. Stop being naive.