Yeah I get your point. Again you are focusing on what people can live in. I can point out that more people live in more temperate zones (cooler) than the middle east and then claim cooler is better but the debate is about extremes; too hot and too cold. It would certainly be a closer apples to apples comparisons with populations than the mismatch you keep advocating for. You certainly think the Middle East and Africa is densely populated;
Dubai and many African nations are the most dense populated on Earth.
http://sedac.ciesin.columbia.edu/gpw-v1/gppycpd-12in.gif
https://en.wikipedia.org/wiki/Population density
Not even close to the most densely populated nations on earth, nor representative of the whole. To be fair Africa is huge, we can get a closer comparison of extremes.
A closer example of extremes would be North Africa's population density with the Inuit communities but comparing the middle easts current population to the extremes of cold that we have mitigated previously is a stretch. Too hot is uncharted territory, our species has mitigated ice ages but an extreme heat events of the same magnitude have not been compared. The previous link I gave highlighted that idea, here is some links on our history of adapting to cold.
http://www.ncdc.noaa.gov/paleo/ctl/100k.html
http://anthro.palomar.edu/homo/homo3.htm
If I had to pick either too hot or too cold, I would choose cold still.