The property is still available for families who want to rent it. You take all the rentals off the market and those who want to rent housing will have no choices.
There’s still many properties available to purchases. Having a mixture of some properties for rent and some of sale gives people choices.
Many people don’t have the skill or resources to manage their own property, let alone pay for large expenses all at once.