I'm not saying that a religiously inspired laws can't be a problem. I'm saying that religously inspired laws are capable of being of no problem.
For example: Dry Counties
Each of these religiously inspired laws intrudes on the rights of those who do not follow the particular religion that inspired the law.
You might feel that a single law, or two or three, is fine, but what is the logical extension of this?
Right, a theocracy.
A lot of folks would love to see a theocracy, but only if it involved their particular religion, and the state enforcing their particular beliefs. But they would hate it if some other religion was in charge.
Why don't we just leave religious beliefs out of the legal system, eh?
Religious belief does not constitute scientific evidence, nor does it convey scientific knowledge.