In the book of James, we find the apostle describing the “Royal Law” and the “Law of Liberty” these are the SAME law. James 2:8 specifically tells us the “Royal Law” is, “Love thy neighbor as thyself.”
If ye fulfil the royal law according to the scripture, Thou shalt love thy neighbour as thyself, ye do well:
1 Corinthians 3 speaks of the two laws, and describes the tables of stone as a “ministration of death” with letters that kill. v. 6,7. The law written in the heart (not stone) brings “Liberty!” v.3, 17. Galatians 4:21-31 says the covenant made at Sinai is brings bondage, not liberty! Love is the “Law of Liberty”
James message was if we love our neighbor we will not merely say so, but will do something to show our love. If we love our neighbor we will not show partiality, we will give food to the hungry, clothes to the desolate, and visit the fatherless and the widow. If we love our neighbor we will not hold grudges or resentfulness, but will forgive and be tenderhearted. The Royal Law according to James was to love our neighbor.