The 80,000 hours folks generally apply this kind of reasoning to explain why it’s better for most people to just focus on a corporate job, stockpile a ton of cash, and donate it all when you die, instead of quitting to join a cause / non-profit - if your only goal is to optimize your impact.
Obviously people are free to choose differently and there are exceptions, unique circumstances etc.