Points have been made about a connection between religion and morals. This quote from the stanford encyclopedia of philosophy shares Saint Thomas Aquinas's view of the subject.
"Detaching Aquinas' philosophy from his theology is compatible with distinctions he firmly delineates at the beginning of his two mature theological syntheses, the Summa contra Gentiles and the Summa Theologiae. (i) There are truths, he says, which are accessible to natural reason, that is, to ordinary experience (including the specialized observations of natural scientists), insight, and reflection; and these include practical truths about good and evil, right and wrong. (ii) Many of those truths of natural reason are confirmed, and even clarified, by divine revelation, that is, the propositions communicated directly or inferentially in the life and works of Christ, as transmitted by his immediate followers and prepared for in the Jewish scriptures accepted by those followers as revelatory. (iii) Some of the truths divinely revealed could not have been discovered by natural, philosophical reason, even though, once accepted, their content and significance can be illuminated by the philosophically ordered reflection which he calls theology.
The philosophical positions in ethics and politics (including law) that are explored in this article belong to categories (i) and (ii). The moral and political norms stated, for example, in the biblical Decalogue are, in Aquinas' view, all knowable independently of that revelation, which confirms and perhaps clarifies them. But the propositions that he holds about what the true last end or ultimate destiny of human beings actually is belong to category (iii) and cannot be affirmed on any philosophical basis, even though philosophy, he thinks, can demonstrate that they are neither incoherent nor contrary to any proposition which philosophy shows must be affirmed."