In that context, the connection between the two rules for life that Jesus said encompass all the rest - love God, and love others becomes clearer. “Love God, love those He loves,” which is everyone. When we truly love God and believe that He created us in His own image, we will love and respect each of His creations enough to try our best to understand and accept him or her—faults, foibles, and all.
Matthew 22:37-39 ESV
And he said to him, “You shall love the Lord your God with all your heart and with all your soul and with all your mind. This is the great and first commandment. And a second is like it: You shall love your neighbor as yourself.