During a presentation by an executive with Google’s Israel branch on Monday, a Google Cloud engineer stood up and shouted, “I refuse to build technology that powers genocide or surveillance.” They were later fired.
https://www.theverge.com/2024/3/8/24094687/google-israel-project-nimbus-employee-fired
Would be nice if that were the case. However, a reputation or being known at least in the tech industry for being a “problem” employee definitely can harm your options.