Hawzah News Agency – Is it permissible to neglect enjoining the good and forbidding evil for fear of losing one’s job?
Answer: As a general rule, if the mukallaf fears considerable harm for himself in enjoining the good and forbidding evil, it will not be obligatory for him.
Source: https://www.leader.ir/en/book/32/Practical-Laws-of-Islam