> like that would have any effect on their lives
Prayer is more than begging favors from imaginary friends, even if that is the stereotype and there is some truth in it. Like meditation, journaling, and other contemplative practices, it is a mechanism for putting the day-to-day in proper context of some larger narrative. In a theological framework, then, it's about a narrative in which you aren't alone in your joys and sorrows.
I don't think intelligence and spiritual practice are mutually exclusive. I think you can be repulsed by the dogma, indoctrination, and irrationality but also recognize that there might be something redeemable in such popular frameworks for finding meaning and purpose in existence.
It may be more than begging favors from imaginary friends, but it does include begging favors from imaginary friends.
How many people would agree with the statement "prayer works"? How many of them consider that to mean actual concrete effects taking place outside the person making the prayer? It's a lot.
Maybe prayer is, for some people, just a way to organize your thoughts or whatever. But for a huge number of people, it's a way to literally influence outside events.
I think most people would argue that's just being a moral person. Jesus was a humanist, after all. I find that these days, the folks looking for community won't really build for others, and the folks looking to build for others are extremely hesitant to join a community. You tell me why and which group are better Christians.
“Like meditation, journaling, and other contemplative practices”
The big difference is that meditation and journaling do not require a belief that you are communicating with supernatural beings.
“I don't think intelligence and spiritual practice are mutually exclusive.”
That’s a low bar. At the least we know supernatural/religious beliefs are negatively correlated with scientific training and scientific eminence.