Landlords don't provide shit, the housing is already there they just charge a tenant money to use it
Developer buys land. Spends all their money on land and building a house.
Investor comes along and buys the house to rent it out.
Developer now has money to buy another lot and build another house (and other developers notice that they can build houses and get paid to do so).
Without the investor money in step 2, developers build a lot fewer houses in steps 1 and 3.Like, literally, if there were no landlords, by definition there would be no rental properties. So people who couldn't afford to buy a house outright would have nowhere to live. That can't be what you're advocating?
Are you really so ideologically brainwashed that you're incapable of imagining any other system that doesn't inherently exploit poor people and concentrates cash at the top???
Secondarily, since tradespeople tend to like food with their meals, landlords paying tradespeople is an important motivation for them to do that work.