Nassim Nicholas Taleb discusses how to be rational about rationality:
Rory Sutherland claims that the real function for swimming pools is allowing the middle class to sit around in bathing suits without looking ridiculous. Same with New York restaurants: you think their mission is to feed people, but that’s not what they do. They are in the business of selling you overpriced liquor or Great Tuscan wines by the glass, yet get you into the door by serving you your low-carb (or low-something) dishes at breakeven cost. (This business model, of course, fails to work in Saudi Arabia).
So when we look at religion and, to some extent ancestral superstitions, we should consider what purpose they serve, rather than focusing on the notion of “belief”, epistemic belief in its strict scientific definition. In science, belief is literal belief; it is right or wrong, never metaphorical. In real life, belief is an instrument to do things, not the end product. This is similar to vision: the purpose of your eyes is to orient you in the best possible way, and get you out of trouble when needed, or help you find a prey at distance. Your eyes are not sensors aimed at getting the electromagnetic spectrum of reality. Their job description is not to produce the most accurate scientific representation of reality; rather the most useful one for survival.