There is a sense in which all cognition can be said to be motivated. One is motivated to understand the world, to be in touch with reality, to remove doubt, etc. Alternately one might say that motivation is an aspect of cognition itself. Nevertheless, motives like wanting to find the truth, not wanting to be mistaken, etc., tend to align with epistemic goals in a way that many other commitments do not. As we have begun to see, all reasoning may be inextricable from emotion. But if a person's primary motivation in holding a belief is to hue to a positive state of mind, to mitigate feelings of anxiety, embarrassment, or guilt for instance. This is precisely what we mean by phrases like "wishful thinking", and "self-deception". Such a person will of necessity be less responsive to valid chains of evidence and argument that run counter to the beliefs he is seeking to maintain. To point out non-epistemic motives in an others view of the world, therefore, is always a criticism, as it serves to cast doubt on a persons connection to the world as it is.
Sam Harris, The Moral Landscape: How Science Can Determine Human Values
cognition, emotion, morality, motivation, religion