Don’t turn into them.
When somebody does something you don’t like and don’t agree with, don’t do it – no matter how tempting it may be.
By doing it you’re accepting and reinforcing the behavior.
Don’t join them. Don’t emulate them. Don’t engage in it.
Do the opposite.
Do what is right.
Be the example of how to live. Live the right way. Be the change.