True, but there's always the risk that where you like living changes over time and becomes HELL 20-30 years down the road. And I have seen this happen among several of my family members.
When you rent, sure, you can't stay forever, but you have visibility at 2 years down the road (depends on the country where you live, but where I do the owner cannot get you out for the duration of your lease, and that's usually 2 years).