It's already too late to avert the consequences of climate change. The amount of dedicated resources necessary would be orders of magnitude larger than what is being used in Ukraine.
So your saying we'd only need to stop 10 or 100 military activities, and take that amount of resource and we could solve this? Totally Win-Win! Wonderful!