CCC 2196 In response to the question about the first of the commandments, Jesus says: “The first is, ‘Hear, O Israel: The Lord our God, the Lord is one; and you shall love the Lord your God with all your heart, and with all your soul, and with all your mind, and with all your strength.’ The second is this, ‘You shall love your neighbor as yourself.’ There is no other commandment greater than these.”1
The apostle St. Paul reminds us of this: “He who loves his neighbor has fulfilled the law. The commandments, ‘You shall not commit adultery, You shall not kill, You shall not steal, You shall not covet,‘ and any other commandment, are summed up in this sentence, ‘You shall love your neighbor as yourself.’ Love does no wrong to a neighbor; therefore love is the fulfilling of the law.”2

1 Mk 12:29-31; cf. Deut 6:4-5; Lev 19:18; Mt 22:34-40; Lk 10:25-28.
2 Rom 13:8-10.