Whenever people are talking about social issues and voting, it’s good to remember this graph:

Religious attendance predicts Republican voting much more among the rich than the poor.
See chapters 6 and 7 of the book (or, for the short version, our Vox EU article) for more on religion, income, and voting, including an international comparison that shows that the U.S. isn’t so special in this regard.
[...] Read it. [...]
You should exclude blacks and hispanics since they vote Democratic no matter their church attendence.
[...] spoke on the book at NYU on Tuesday and used the line about religion as the “opiate of the elites,” showing this [...]
[...] Gelman claims religion is the “opiate of the elite,” from this [...]