Many in tech would say that, and sure we'd be better off if even more did, but on some level it doesn't matter. In a sufficiently large country you'll always find someone willing to Be Evil, especially if they're paid well. We can't rely on every single capable company deciding not to take a given government contract, this sort of thing has to be solved via the political and legal system
But the more dominant the "legal because computer, and how dare you ask me?" attitude is, the less we'll see enforcement. People should demand action, rather than call it a clever business plan.
Folks who were on here praising Uber or Airbnb for skirting the law 10 years ago, this was part of the problem.