I wouldn’t lump in Israel in, but good for you.
Anyway, for those in this situation, some anecdotes. I've outright refused to do questionable things and kept my job. I've also played incompetent so the sharks look elsewhere. Point being... options exist, don't negotiate [only] with yourself.
Would be remiss if I missed the opportunity to quote Louis Rossman: "don't accept the premise of assholes"
https://en.wikipedia.org/wiki/Pegasus_(spyware)
Putting that aside, my moral positions about Israel are rooted in the righteousness of the Jews' cause and their historical struggle. My personal self-righteousness is inadequate in comparison.