A counterexample would be the ozone layer depletion, that should give us some hope, but it's true that the problem was orders of magnitude easier to solve.
The fact that ozone depletion was orders of magnitude easier to solve than climate change is precisely why it doesn't give me much hope. It's not a counterexample; it's a whole different level of problem.