That’s the thing. A home should not be an “investment”, it should be a “home”, a home to live and give safety/security, not land, bricks and mortar someone purchases to make a capital gain or rental yield.
Why do people want a “home”? It provides a security renting doesn’t, you can make it your home.
Renting can be more flexible if you are nomadic, it can also be a huge pain dealing with leases, rental increases, dodgy landlords, a lack of security so can’t truly settle on a 12 month lease.