On page 136 of ‘The Moral Landscape’ Sam discusses obtaining a belief simply because it makes a person feel better. He describes a debate with Philip Ball who believes that a person can acquire a belief simply because it makes him “feel better”. Sam asks rhetorically “Has a person like this ever existed? I highly doubt it”.
I came from a religion which requires exactly this process for acquisition of a belief or a whole belief system. The Latter Day Saints (the Mormons) have a saying something like “You will know its true buy the burning of the bosom”. The idea is that if you repeat some idea, preferable in front of the congregation you will feel a sensation of warmth that will be God affirming the belief to be true.
I wonder if this occurs in other religions as well