The key is mindfulness. Healthy detachment. Decouple your internal moral system/self-judgement mechanisms from those of the people around you. The two don't need to line up perfectly; they shouldn't be the same thing. Theirs may be rooted in real and valid experiences, even if it comes out as something destructive. Yours may too. You don't have to fight anything or anyone to gain your own peace and clarity. Stepping back is the only way out of the spiral.