You also haven't considered that as you move people into cities you need to scale up infrastructure in the city itself. Living spaces, transportation around the city, supply lines for supermarkets. Everything needs to scale. It's not black and white that moving everyone into a tightly packed city is going to make a meaningful difference to global emissions.
What would make a tremendous difference is turning the entire grid into a green smart grid powered by solar, wind, geothermal, etc. That would change things regardless of where people live, because the sources of energy are decentralized and can exist basically anywhere that natural resources like solar and wind exist.