Religion (when discussed as a virtue) is a distinct moral virtue whose purpose is to render God the worship due to Him as the source of all being and the giver of all good things. As such it is part of the cardinal virtue of Justice, and falls under obedience to the First Commandment.