He was obssessed with (was captured with) thinking that he had to be good at every subject.
In the example given, I really think that obsessed is the best choice. IMHO, captured with never quite works. I think that captivated by is the phrase you're looking for as a potential alternative, but again, not in the given example.
Student or Learner