He who is not loving did not know God, because God is love.
Read all of 1 John 4 YLT
Read 1 John 4:8 in another translation