Personality and clinical psychology

A client notices that after thinking “I will fail,” they avoid applying for jobs and then feel more hopeless. Which intervention most directly reflects cognitive-behavioral therapy (CBT)?