I do have hope for the former. I expect it to come at a high cost, since we are already a bit too late. We did manage to do well with the ozone layer. Prediction models still put as at a likely unparalleled humanitarian crisis, even if we act more and faster than we will.
As for human empathy, much more unlikely. Humans are born flawed, selfish and amoral. It has to be taught away. To reach the point of a world society that can reliably "fix" this, for a large enough percentage, would be a more impressive feat IMO than solving the coming food and energy crisis. If only we had evolved from the bonobos instead of the chimps.
There is still room for hope, I agree. It's just that the rational part thinks the hopeful one is being naive.