https://ancientoriginsmagazine.com/coober-pedy-australian-town-so-hot-80-percent-live-underground
Living underground to avoid direct sunlight makes a lot of sense in a sweltering climate.
https://www.bbc.com/future/article/20230803-the-town-where-people-live-underground
https://earthlymission.com/coober-pedy-australian-town-built-underground-extreme-heat/
https://www.cnet.com/pictures/the-strange-underground-homes-in-the-coober-pedy-desert-australia , https://www.youtube.com/watch?v=uFA-OB-nJ_I
https://www.vietnam.vn/en/con-nguoi-co-the-song-duoi-long-dat-hay-khong/
https://en.wikipedia.org/wiki/Derinkuyu_underground_city
https://www.bbc.com/travel/article/20220810-derinkuyu-turkeys-underground-city-of-20000-people
https://en.wikipedia.org/wiki/Kaymakli_Underground_City
As more places heat up, earth-sheltered-homes will become more popular.
Of course some parts of Canada & Alaska get so cold, that its safer to just remain inside.
https://therabbitportal.blogspot.com/search?q=Canada+vs.+Australia