I’d like to make two observations about the relationship between law and love, on the way to exhorting you to confess your sin.
Because Jesus made it clear, we know that the great commandment is to love God, and the second is like it, we’re to love our neighbors (Matthew 22:37-39). Perhaps this surprised (at least some of) the Jews who were known as those who had received the law of God. It turns out the commandment was to love.
Twice Paul wrote about love not only as the first commandment, but as the summary commandment.
For the whole law is fulfilled in one word: “You shall love your neighbor as yourself.” (Galatians 5:14)
The commandments, “You shall not commit adultery, You shall not murder, You shall not steal, You shall not covet,” and any other commandment, are summed up in this word: “You shall love your neighbor as yourself.” (Romans 13:9)
So obedience to God is others-ward, and righteousness is relational. The law, God’s commands, aim at love.
The law also aims to show us that we need Christ (Romans 3:19-20; Galatians 3:24). None have obeyed all the law, which also means that none have loved perfectly. And really, not murdering my neighbor seems a lot easier than loving my neighbor.
This is why, at least in Galatians 5, Paul moves from love to walking in the Spirit, to the fruit of the Spirit, which is love et al. Love summarizes God’s law, which also is the first, or final evidence as to why we need Christ and the Spirit. If you have a lack of love, confess it to Him. If you want to love more like He commands, imitate Christ and be filled with His Spirit.