Loving your neighbor is a logical and natural consequence if you love God. You can't love God without also loving your neighbor.