If one can’t afford to own, they rent. When you rent you are buying a service. Just like you buy electricity, water, and food.
You are not dependent on the landlord. It’s an equivalent exchange. He is dependent on you, just as much as you are dependent on them.