The statistics for the number of deaths from climate-based disasters is clear: fewer and fewer people are dying the richer the world becomes. In fact the decrease in deaths is very significant:
"Annual climate-disaster deaths averaged around 77,000 per year in the 1960s–70s, dropped to about 33,000/year in the 1980s–90s, and fell further to roughly 27,000/year in 2000–2019 even as the number of recorded climate disasters rose from about 1,171 to 3,656 to 6,641 across those same periods."
If you're optimising for human life, then "drill baby drill", as more energy = more wealth. More wealth = better infrastructure, health care, dealing with extreme weather conditions.