There are a couple of problems with this. First, it proves too much: it allows one to engage in all sorts of wrongdoing so long as someone is willing to pay for it. Second, there’s some acausal effects whereby if you refuse to do bad things, people using the same algorithm as you will similarly refuse to do bad things.
Also, by doing bad things, you give your implicit approval of others doing them.
Finally, by accepting pay to do wrong, you encourage employers to pay people to do wrong.
There are a couple of problems with this. First, it proves too much: it allows one to engage in all sorts of wrongdoing so long as someone is willing to pay for it. Second, there’s some acausal effects whereby if you refuse to do bad things, people using the same algorithm as you will similarly refuse to do bad things.
Also, by doing bad things, you give your implicit approval of others doing them.
Finally, by accepting pay to do wrong, you encourage employers to pay people to do wrong.