If at first you don’t succeed, lower your standards. And if you find yourself acting out of line with your beliefs, change them. This sounds like motivational advice from one of the more cynical self-help books, or perhaps a Groucho Marx line (“Those are my principles, and if you don’t like them… well, I have others…”), but in fact it is a caricature of one of the most famous theories in social psychology.

Leon Festinger’s Dissonance Theory is an account of how our beliefs rub up against each other, an attempt at a sort of ecology of mind. Dissonance Theory offers an explanation of topics as diverse as why oil company executives might not believe in climate change, why army units have brutal initiation ceremonies, and why famous books might actually be boring.

The “Dissonance” is between the actions of the participants and their beliefs about themselves. [… T]here is a tension between their belief that they are a nice person and the knowledge of how they acted.

Normally it should be a totally healthy process – after all, who could object to people being motivated to reduce contradictions in their beliefs (philosophers even make a profession of out this), but in circumstances where some of our actions or our beliefs exist for reasons which are too complex, too shameful, or too nebulous to articulate, it can lead to us changing perfectly valid beliefs, such as how boring and pointless a task was.

Fans of cognitive dissonance will tell you that this is why people forced to defend a particular position – say because it is their job – are likely to end up believing it. It can also suggest a reason for why military services, high school sports teams and college societies have bizarre and punishing initiation rituals. If you’ve been through the ritual, dissonance theory predicts, you’re much more likely to believe the group is a valuable one to be a part of (the initiation hurt, and you’re not a fool, so it must have been worth it right?).