Paul (the famous grace teacher) is very much for the necessity of loving God as a part of eternal life. Paul says,
"If any man love not the Lord Jesus Christ, let him be Anathema [i.e. accursed] Maranatha." (1 Corinthians 16:22).
Paul is in agreement with the words of Jesus Christ and in living godly. Paul says if any man does not speak in accordance with the words of Jesus Christ, and the doctrine of godliness, they are proud and they know nothing.
3 "If any man teach otherwise, and consent not to wholesome words, even the words of our Lord Jesus Christ, and to the doctrine which is according to godliness;
4 He is proud, knowing nothing,..." (1 Timothy 6:3-4).
Paul's concern in regards to the Law was the ceremonial laws, and not the Moral Law. For Paul says to the Galatians,
"I am afraid for you, lest I have bestowed upon you labor in vain" (Galatians 4:11).
"You observe days, and months, and times, and years." (Galatians 4:10).
Observing days, months, times, and years are observing the sabbaths and holy days; These are the ceremonial laws from the Old Testament Law of Moses and not the commands given to us by Jesus and His followers.
Paul further states:
"Behold, I Paul say unto you, that if you be circumcised, Christ shall profit you nothing." (Galatians 5:2).
Circumcision is a ceremonial Law and not a Moral Law. Circumcision is a part of the Law of Moses and not the commands given to us by Jesus and His followers.
Paul says we can fulfill all the Old Law (the 613 Laws given to Moses, not the commands of Jesus) by loving your neighbor (i.e. the Moral Law).
"For all the law is fulfilled in one word, even in this; You shall love your neighbor as yourself." (Galatians 5:14).
But the Law being fulfilled in Galatians 5:14 is not in reference to Law of Christ (Galatians 6:2), or the Law of the Spirit of Life in Christ Jesus (Romans 8:2).
The word "law" in Galatians 5:14 is in reference to the Law of Moses, and can be fulfilled by "loving your neighbor" (Which is a part of the New Covenant laws).
Paul says that to love your neighbor is the equivalent of keeping the Moral Law from the Old Law in Romans 13:8-10. Paul says that if you love your neighbor, you will not murder, covet, steal, commit adultery against your neighbor. So Paul is for the necessity of loving. For the Moral Law is the equivalent of loving your neighbor (Romans 13:8-10); And Paul lists the breaking of the Moral Law like murder, and adultery, etc. in Galatians 5:19-21 as the kinds of sins that will cause a person to not inherit the Kingdom of God.
The phrase "inherit the kingdom of God" is in reference to salvation.
For we know in Parable of the Sheep in Goats in Matthew 25:34 says, "Then shall the King say unto them on his right hand, Come, you blessed of my Father,
inherit the kingdom prepared for you from the foundation of the world:" This parable concludes with it saying in Matthew 25:46:"And these shall go away into everlasting punishment: but the righteous into life eternal." So "inherit the kingdom of God" is in reference to salvation. So Paul is saying that those who do such sins like murder, adultery, etc. will not be saved (or they will not inherit the kingdom of God).
Anyways, the point here is that we have to love our neighbor as a part of eternal life. Paul is for the importance of loving one's neighbor (Galatians 5:14). For the keeping of the Moral Law is the equivalent of loving one's neighbor (Romans 13:8-10), and Paul makes it clear that breaking the Moral Law is a loss of salvation (Galatians 5:19-21).
Note: Moral Laws are the laws that the Gentiles were able to keep without having the written Law (Romans 2:14). These Moral Laws are anything you instinctively know to do good without anyone telling you to do so.