John 14:15 (NASB) "If you love Me, you will keep My commandments."
If you love Jesus and believe in Him, the Holy Spirit comes into your life and enables You to love others in a way that the keeping of God's commandments will become a natural tendency.