It’s an important question. I think of a saying I once heard about picking a SWE job: “back in the day, if you went to finance you were evil and if you went to big tech you were good. Now, you are evil no matter where you go.”
Previously, one could argue that choosing to give your labor to an industry with superior values and alignment of incentives over another would provide the most good as that industry will naturally assert and perpetuate its values and personal interest throughout society and government. However, it’s unclear what industry has superior values and best alignment of incentives with society.