John Calvin wrote (Institutes, 41)
"For this sense of the divine perfections is the proper master to teach us piety, out of which religion springs. By piety I mean that union of reverence and love to God which the knowledge of his benefits inspires. For until men feel that they owe everything to God, that they are cherished by his paternal care, and that he is the author of all their blessings, so that naught is to be looked for away from him, they will never submit to him in voluntary obedience; nay unless they place their entire happiness in him, they will never yield up their whole selves to him in truth and sincerity."
When we love holiness (God) we will live holiness (a godly life).