The joke is a pun.  A 'phobia' is a fear that one has about a specific thing.  The person 'feared' that the book wouldn't help them.
I was going to buy a book on phobias , but I was afraid it wouldn ' t help me .