Answer:
cognitive dissonance
Step-by-step explanation:
Cognitive dissonance: In psychology, the term "cognitive dissonance" was proposed by a psychologist named Leon Festinger during 1957, and is described as a process through which an individual feels, desires, or strive for some internal "psychological consistency" in order to function properly or mentally in the outside or the real world.
In cognitive dissonance, an individuals behavior contradicts his or her thinking process.
In the question above, James behavior illustrates cognitive dissonance.