In the H-Bomb example, what would happen if Oppenheimer didn’t help develop the bomb? Russia most certainly still would have. And the world would be a different place today.
China, Russia, shit - North Korea are all working on super shady projects that you not I would want any part of. However that doesn’t stop the technology from being developed - and in some dire cases - not making the technology domestically puts us at a disadvantage.
This isn’t me saying that Amazon should continue providing Facial Recognition software to the Government. This is just saying never doing evil isn’t always the best solution - on a global scale.