Roman Catechism 27.8

Chapter 27 — Part III: The Decalogue — The Fourth Commandment

Section 8. In the first three Commandments, which have been explained, God, the supreme good, is, as it were, the subject matter; in the others, it is the good of our neighbour. The former require the highest love, the latter the love next to the highest. The former have to do with our last end, the latter with those things that lead us to our end.