What? They couldn't be more closely connected. In a democracy, laws are to a large extent a reflection of the wishes of the voters, and voters want what they believe is moral.
It's true there's no casual relation in the other direction, if that's what you mean - law does not define morality.
It's true there's no casual relation in the other direction, if that's what you mean - law does not define morality.