Per the below report by Morgan Stanley, it will cost $50 Trillion to stop global warming by 2050.

https://www.forbes.com/sites/sergeiklebnikov/2019/10/24/stopping-global-warming-will-cost-50-trillion-morgan-stanley-report/#5879eacc51e2

Is that a big number?

Well, the current estimate of World GDP is roughly $80 Trillion/year.  This is expected to double, to $160 Trillion by 2050.

Therefore, over the 30 years, the $50 Trillion to stop global warming equates to roughly 0.014 of world GDP.

By itself, $50 Trillion is a very big number.  But, spread over 30 years, and all the world economies, it is a very small and achievable number.