Buying and selling houses is a nightmare to make you feel like rentals are necessary.
When my parents wanted to move as young adults it was easy for them to sell their property and use that money to buy a new one in the place they were moving to. That's now way more difficult just for the benefit of landlords.