The US sells more weapons than anyone else - obviously a LOT of people make a living selling them.
And some countries play harder ball than the CIA and SIS
If you're making this sort of software for one country or organisation then you're effectively a weapons trafficker so you might as well sell to all sides and reap in the profits.
It’s a very slippery slope.
https://en.m.wikipedia.org/wiki/Button,_Button_(The_Twilight...
And when your kids lost all respect for you after finding out what a shameless sell-out you are, well...
whatever.
This isn't as good an excuse as you think it is.
You might want to ask yourself if there is anything you believe in or care about beyond your own genetic code.
It's one of the reasons suicide bombers blow themselves up too.
But, as in this case he will live and it ignores the lasting psychological damage on those around them - becoming malevolent will affect the people around, and not in a good way.
Not really. By succumbing to this temptation he's contributing to creating a worse future for everyone, including his children and their children.