I think it's more related with conflict situations. For example, imagine you are on a diet. Then after the first impulse of eating a bagel you think "but I started a diet a week ago" and then you justify yourself "a single bagel won't matter that much" which creates another thought "you said the same last time. You are going to regret it at the end of the month" and so on.
In fact, this internal monologue can be used in psychology when you are dealing with bad experiences by dividing your thoughts into an entity who suffers the pain and another one who is logical and supportive. For example, acting towards yourself the same way you would do for a friend.
In fact, this internal monologue can be used in psychology when you are dealing with bad experiences by dividing your thoughts into an entity who suffers the pain and another one who is logical and supportive. For example, acting towards yourself the same way you would do for a friend.