I have worked half of my life in both fundamental and applied science, I know how this work. In particular you can refuse jobs you deem unethical.
Why not funding energy transition research for instance. It’s know to science for half a century we’ll cook to death if we don’t phase out fossil fuel energy.
And by know, I mean there’s literally millions of papers on the topic.