Housing will never be affordable as long as it’s treated like an investment.
Owning a home IS an investment. Renting is not.
Nobody would want to own a home if they didn't get some kind of return on investment when it came time to scale down/retire/put it in your will, etc.
"Affordable housing" should really be "affordable renting".
EDIT: if you're going to downvote, at least explain why. This is the reality of the housing/rental market we all live in. Don't shoot the messenger.