Cognitive behavioural therapy acknowledges that mood is related mindsets and thought patterns. The purpose of this therapy is to help you recognise harmful thoughts patterns that contribute to clinical depression, assess the reality of them and change them into positive ways of thinking.
Inappropriate behaviour comes from faulty thinking and when behaviour is changed, your mood will improve.