There are better ways to think about investments than homeownership.