Housing is a solved problem, it's kept scarce on purpose by artificial barriers. Food also is, the world already produces more food than people need (proper distribution remains an issue, however).