If you really keep the royal law found in Scripture, "Love your neighbor as yourself," you are doing right.This verse is a great stand alone kind of verse. All by itself, it is saying that you are doing well (or right) if you are loving your neighbor as yourself.
But this verse is not stand alone. In the NIV it leaves out an essential word at the beginning of the verse. The NASV does a little bit better of a job on this one.
If, however, you are fulfilling the royal law according to the Scripture, "YOU SHALL LOVE YOUR NEIGHBOR AS YOURSELF," you are doing well.Notice the word however. When it is left in, it is kind of like saying, "OK. You have heard the wrongs of favoritism. Let me show you what is opposite to favoritism..." In other words, you can't be loving your neighbor as yourself and showing favoritism. They stand in opposition to each other.