People do like their house to be close to the place they work and dense cities attract knowledge workers but also need maintenance workers, teachers, firefighters, janitors, cooks, and police. Housing for those people is the problem which the real estate market does not seem to be able to solve, and local governments have not found efficient regulation for except for social democrat systems like sweden and norway.