Owning real estate and actually clearing your mortgage is my preference.
However, if job mobility is your thing, it’s hard to beat the rental options.
It depends on the person and situation.
Home ownership can be either a place to bank equity, or an anchor that is troublesome to unload.