It's a great read, and honestly I wish something like that (or an Ethics class) was required in order to graduate with a CompSci degree. We all have agency and the ability to say "no" to implementing bad ideas, but if you suggest that on HN, they look at you like you have antlers growing out of your head.
I've quit jobs where I believed the project I was asked to work on were unethical, and that I had no other choice at the company. My first job out of university, I was asked to write code to cheat on an industry benchmark. I was 19 years old but I still somehow conjured up the courage to tell my manager that I would not feel comfortable working on that.
But you see senior engineers here with 20 years of experience just shrugging and saying "Well, boss told me to do it so I have no choice!"