Something that I realized is, negative thoughts and emotions are normal and part of life. It's the counterproductive or hurtful behaviors we may engage in, as a reaction to the negative thoughts or emotions, that we can try to avoid.
Feeling bad about having negative thoughts or emotions and being afraid to express them, only makes it more likely we'll engage in counterproductive coping behaviors.