If you're having trouble shedding negative beliefs or behaviors, find replacements. Find a way to swap out negative support systems with positive options that will deliver better results. Intentionally seek out work relationships with positive people who share the very values that lead to healthy collaboration, safe work engagement, and energizing productivity.
You'll know these positive people after a while; they're the ones who have strict boundaries themselves and never get sucked into negativity. They think ahead about how to improve a bad situation, take accountability for their actions, and move toward contributing to solutions to organizational problems with positive intent.