Let me just establish-via-selected-quotes (via Patheos) the problem that the Democrats are facing with religious voters.
In 2008, the Obama campaign sought ways to cooperate with religious moderates and conservatives and make them feel more welcome among Democrats.
[snip]
According to exit polls, the effort paid off. Obama made gains over the 2004 nominee, Massachusetts Sen. John Kerry, with voters who attend religious services more than once a week, 43 percent to 35 percent. Obama also won 26 percent of the evangelical vote, compared with 21 percent for Kerry.
[snip]
But from 2008 to 2010, when control of Congress was at stake, the DNC cut its faith outreach staffing from more than six people to one part-timer, according to The Washington Post.