Obviously it would be ideal. If councils owned all properties vs landlords. It would make renting far cheaper and profits (if any) would go straight back into public spending.
Unfortunately in UK we have sold of literally everything, water, gas, house. If government could sell the air they would. And it's left us in a mess.
I understand things just didn't work in public ownership. But there is no reason why they shouldn't.
I for sure dont blame landlords. Making money is what our society drives towards. But I still think it shouldn't happen in a better world.