I was using REITs as a proxy for the value and opportunity cost of buying your housing rather than investing in a retirement account. If you actually buy REITs this breaks down because REIT capital gains are taxable, while residence capital gains on a primary residence of modest value are not.

It was not my intent to convey you should buy REITs instead of a place to live.

After early career this breaks down though, because the tax advantage are only good for primary residence modest value homes, it's not a strategy that can be continually employed.