I can't agree more. Legal isn't the same as moral, and conflating the two is pretty disingenuous.
My professional goal (hell, my life goal) is to work on things that make a positive difference in the world. Laws don't necessarily come into it (and sometimes are in direct opposition to this). I believe (or naively hope) that other people in my profession feel the same way, otherwise the future is going to get... interesting.