Holy Scripture commends a twofold charity to us, namely, of God and of neighbour; charity of God, that we may love Him so as to rejoice in Him; charity of neighbour, that we may love him not so as to rejoice in him but with him in God, that is, so as to love God on account of Him, Himself, but our neighbour on account of God. Now God must be loved on account of Himself for the reason that He himself is our good. Now our neighbour must be loved on account of God for the reason that with him our good is in God. We love the One that we may go to Him and rejoice in Him. We love the other that we may run with him and arrive with him. The One as joy, the other as an ally of joy; the one as rest, the other as a consort of rest.
[Hugh of St. Victor, On the Sacraments of the Christian Faith (De Sacramentis), Deferrari, tr., Ex Fontibus (2016) pp. 378-379.]