Look, do what you want, it's your life. I spent a decade working in defense and now I don't. Some times were uncomfortable. I hope you keep your eyes open when making decisions to avoid some of the discomfort I've felt in the work I've done.
I agree that it's often a moral grey zone but in this case it's pretty clear. If you're an engineer there's plenty of other companies to choose from.
Keeping America on the forefront of technology has its benefits. If we don't invest in cornering these technologies; our adversaries will.
Unfortunately it's the same technology that has kept us in the middle east that's also been a forceful deterrent which safeguards all Americans.
"The students of the Harvard University write that I should leave the criminal Dow Chemical Company.
I'm a chemist. What should I do?
If I develop a substance, someone can come and make something out of it. It could be good for humanity, or it could be bad for humanity.
Besides napalm, Dow Chemical manufactures 800 other products.
The insecticides that we manufacture help mankind.
The herbicides that we manufacture scorch this harvest and cause him harm."
I have used that excuse myself. I'm trying to get better at not using it.
I could go down the rabbit hole of chasing down all those contracts and would probably find that many of the products my company makes get sold to groups and causes that I don't support. But in the end; I've gotta eat.
Do I want to throw away my career which is 99% unrelated to the SJW cause I support just because 5% of our products eventually get used against that cause. What about the 95% of our products which go to worthy causes?
I'll say it again... I just gotta eat, man. What's good for the gander is probably good for the goose too.