Poor Gollum. He was a hobbit named Sméagol. Then the One Ring found him and he was lost. After he lost the ring to Bilbo Baggins in The Hobbit, he hated all hobbits, thus creating the foundation for his character in The Lord of the Rings trilogy.
I've always felt Gollum is the most misunderstood antagonist in fiction. He wasn't a bad guy. He got poisoned by a very bad, very magical ring. It really wasn't his fault. Yes, he's difficult, whiny, sneaky and full of conflicting desires, but I've felt nothing but pity for him since the first time I met him. If you don't find his plight as saddening as I did, I'd be surprised.