Whichever one is coming first: Build it and they will come.
We have town planners, engineers, etc, who study these matters. We are not in a third-world country and we do know how to do developments properly. When this doesn't happen it's often because of profit-driven issues, or special 'deals' among interested parties, or there's lack of professionalism. or there's cutting corners or plain bad decision-making in planning.
Loss of life can happen if there are traffic bottle necks and people can't get to a hospital, for example, in a crisis. Or not having medical and community centres in a sea of homes with young families, etc. I remember this sort of situation happening in Sydney decades ago in working class areas.