Yeah, but you can’t contract your software to the department of defense and then demand that they not use it to surveil foreigners. If that’s the line you want to draw, you’d have to avoid working with them in the first place.