David Benatar, author and professor of philosophy, seems to think so:
There are well-established features of human psychology that lead most people to underestimate how bad the quality of their lives is. Chief among these psychological features is ‘pollyannaism’, an inclination most people have towards optimism. Research has shown, for example, that people selectively recall the good more often than the bad, overestimate how well things will go, and tend to think that the quality of their life is above average.
It is curious that Professor Dawkins seems so unaware of these optimistic biases, given their obvious evolutionary explanation. Those with the right dose of delusion are more likely to produce offspring, whereas those who see the human condition for what it is, are unlikely to want to reproduce it. Optimistic delusions, within a normal human range, are thus adaptive. The delusions that help people cope with the human predicament are often theistic, but they are not always so. Professor Dawkins is quick to debunk the theistic consolations and to begrudge those who seek comfort in them. Yet he does not cast the same critical light on his own delusions and consolations.