God commands those who follow Him to love others. The Bible also says that God is love.
2 John 1:
5 I am writing to remind you, dear friends, that we should love one another. This is not a new commandment, but one we have had from the beginning. 6 Love means doing what God has commanded us, and he has commanded us to love one another, just as you heard from the beginning.