I don't think either of those phrasings quite captures the link as it appears to me. The second one is probably closest, but through the lens of faith I believe I'm in a close relationship with a real, living entity, and that influences my political beliefs like all close relationships do. But it's a far more subtle influence than a top-down "do it this way because this is what God says" sort of attitude. In the theology I inherited from the Catholic tradition, God is not able to make things right or wrong just by saying so; they are right or wrong independently of him.
no subject