CCC 2083 Jesus summed up man’s duties toward God in this saying: “You shall love the Lord your God with all your heart, and with all your soul, and with all your mind.”1 This immediately echoes the solemn call: “Hear, O Israel: the LORD our God is one LORD.”2
God has loved us first. The love of the One God is recalled in the first of the “ten words.” The commandments then make explicit the response of love that man is called to give to his God.

1 Mt 22:37; cf. Lk 10:27:“... and with all your strength.”
2 Deut 6:4.