And both of these amounts seem to not be enough based on the resulting state of the world.
So, continuing to also work on other things is both rational and morally sound.
Progress in one area unlocks new possibilities in other areas. E.g. abundant near-free energy would make eliminating poverty a more tractable political problem than it has proven to be.
This is an impossible way to get to a useful conclusion. Provide stats if you're going to make a claim like "the world is bad"