This comment and your implication is specific to developed countries, not the entire world, as noted from https://www.ipcc.ch/pdf/assessment-report/ar5/wg2/WGIIAR5-Chap10_FINAL.pdf

"...the overall conclusion that the macroeconomic impact of climate change on energy demand is likely to be minimal in developed countries ...The current literature sheds less light on the implications for developing countries and on other climate impacts in the energy sector beyond those related to changes in energy demand. Europe is the focus of most of the literature so far. "

"The limited results indicate that developing countries likely face a greater negative GDP impact with respect to climate change implications for the energy sector than developed countries, largely because of higher expected temperature changes "

In the short term the net global economic impact may be small even though the local economic impact in developing countries may be devastating.  In the long term everyone suffers.