Sure, you can die of cold, and given technology at some level it becomes really too cold for reasonable habitability, but that is quite low in relation to what we see around the world. And even our far ancestors could already "avoid" cold by just making fire, shelters, putting on cloth. Today we have whole cities built in permafrost, enduring -40°C temperatures just fine.. with the right clothing put on you can even survive outside for a significant amount of time.
If it is getting too hot (imagine 5°C over wet bulb temperature or more) there is nothing we can do but shelter in with air condition and hope electricity keeps going (which also becomes a problem at certain temperature), no going outside anymore.
AC is only omnipresent in the US, very recent modern technology, but even in the richest countries in Europe most have none at home or even work.. (it is just normal). Sure we riches can buy one, but situation around the world is very different.
Ok clarified, I'm just being Captain Obvious here, and OP must be another form of climate change denial.