I used to write unethical software for marketing men. Now I don't.
I've straight up told recruiters I don't want to contribute to the brown skeleton factory.
I did that at the cost to my employment options.
Its really, really hard to go work for Evil Inc and not realise you're a bad person.