Principles are only good up until they enable you to be systematically victimized.
If enough people make decisions like OP and only perform work that they believe in (for one reason or another) perhaps that redirects the path to power for the 2% such that they need to act in the interests of the 98% rather than the other way around. I think OP was very late to the train here and I had made a similar career switch in the past for similar reasons but I'm happy to see other people making decisions that, if nothing else, will make them feel that they are in control of the impacts of their time and hard-work. Not sure how things will balance out in the end/distant future but we do our best and try to lead a life we feel good about living.