I remember a company during the interview asked me are things I do not work with or don't like, especially since they had a very diverse team culturally where e.g. some folks couldn't work on any kinda gambling resembling platform due to their religious beliefs.
I told them that TBH didn't think much before about it, appreciate the question and to answer: I could never see myself working on weapons used for war, products used by countries to repress their population (relevant due to my upbringing) or any kinda of mass surveillance system. The HR just noted them down but I saw every technical person smiled and understood truly what I'm talking about and they insured me that they so and so don't ever work on those kinda projects.
PS: before someone comes now and says "BUT DO U USE IG?!" No I don't use most social platforms but also if I did just because I'm flawed and the system isnt perfect, doesn't mean I'm gonna give up on all my morals right away and not choose better when I have the option.