Religion was mankind's first crack at philosophy, so you're probably never going to untangle religion from morality.
But which laws should be codified into civic law? The Bible tells me I have to get circumcised too. Should the state mandate that?
That's what elections are about, whose morality is codified in law. Separating morality or the religious beliefs/non-beliefs of any legislator from the laws they promote is mythological nonsense.