Science and religion seem to be getting ever more tribal in their mutual recriminations, at least among hard-line advocates. While fundamentalist faiths cast science as a misguided or even malicious source of information, polemicizing scientists argue that religion isn’t just wrong or meaningless but also dangerous.

I am no apologist for religion. As a psychologist, I believe that the scientific method provides the best tools with which to unlock the secrets of human nature. But after decades spent trying to understand how our minds work, I’ve begun to worry that the divide between religious and scientific communities might not only be stoking needless hostility; it might also be slowing the process of scientific discovery itself.

Religious traditions offer a rich store of ideas about what human beings are like and how they can satisfy their deepest moral and social needs. For thousands of years, people have turned to spiritual leaders and religious communities for guidance about how to conduct themselves, how to coexist with other people, how to live meaningful and fulfilled lives — and how to accomplish this in the face of the many obstacles to doing so. The biologist Richard Dawkins, a vocal critic of religion, has said that in listening to and debating theologians, he has “never heard them say anything of the smallest use.” Yet it is hubristic to assume that religious thinkers who have grappled for centuries with the workings of the human mind have never discovered anything of interest to scientists studying human behavior.

Just as ancient doesn’t always mean wise, it doesn’t always mean foolish. The only way to determine which is the case is to put an idea — a hypothesis — to an empirical test. In my own work, I have repeatedly done so. I have found that religious ideas about human behavior and how to influence it, though never worthy of blind embrace, are sometimes vindicated by scientific examination.