More often than not, the belief that you are bad contributes to the "bad" behavior. Change and learning occur most readily when you (a) recognize that an error has occurred and (b) develop a strategy for correcting the problem. An attitude of self-love and relaxation facilitates this, whereas guilt often interferes.
Feeling Good: The New Mood Therapy (ed. 1980)