“Social scientists have shown — for as long as we have been collecting data — that conservatives have better mental health than liberals, and religious people have better mental health than their secular peers.”
My gut tells me social scientists have “shown” no such thing, but am open to hearing the case.
I think it's worth considering how the causation runs. Being in a conservative environment but unable to conform could cause poor mental health and disaffection with the ideology. In a very broad stroke, this describes my personal experience.
Obviously people who believe people can magically turn water into wine, or that virgins give birth, or that they can walk on water etc. have better "mental health" than those who are skeptical of all of this.