Their relationship must have begun because they were so similar in spirit. For Shelob is consumed with a lust for all life, true daughter as she is of Ungoliant the ancient monster in spider form. This lust is insatiable but it is limited by a need for secrecy and so prey must fall unawares into her lair. Gollum in time past has brought such prey to her. He is her “sneak” as the orcs call him.
Similar in spirit they are but she is so much mightier than he. And so Tolkien tells us, “in past days he had bowed and worshipped her, and the darkness of her evil will walked through all the ways of his weariness beside him, cutting him off from light and from regret.”
So it is that Gollum worships his god. She represents to him the embodiment of the principle that shapes and drives him, the desire to eat. Readers may remember the debate between the Gollum and the Sméagol principle that Sam overheard and could not be sure who had won at the end of it. In it the Gollum principle declares: “Perhaps we grows very strong, stronger than Wraiths. Lord Sméagol? Gollum the Great? The Gollum? Eat fish every day, three times a day, fresh from the sea.” We might allow ourselves a smile at Gollum’s expense but the only difference between him and Shelob or even between him and Sauron is one of degree. Their lust is greater and more all encompassing and their power is greater too but there the difference ends. Sauron is simply a more powerful version of Gollum. Gollum is simply a weaker version of Sauron. Sauron can hurt Gollum but Gollum cannot hurt him.
At least, not yet, for Gollum dreams of the day when he will “pay everyone back!” And when he says, “everyone” he means all those for whom he carries a sense of resentment; and this is so great that all creatures must be punished for the wrong that he believes they have done to him.
And what does worship mean in this respect? It is simply this. That some creatures are more powerful than others and we must bow down to those who are more powerful than we are. As Sweeney Todd declares in Stephen Sondheim’s musical of the same name, “Because in all of the whole human race… there are two kinds of men and only two. There’s the one staying put in his proper place and the one with his foot in the other one’s face.” And so those, like Gollum, in the “proper place”, worship those above them who have their feet in their faces. It is a miserable and servile kind of worship and it is offered in endless resentment. And those who seek such worship must take care never to take the foot away from the worshipper’s face for fear that revenge might be taken.
This is the spiritual universe in which Gollum exists, a universe that he entered on the day he murdered his best friend in order to take the Ring for himself. It is a universe made up of endless lust and endless resentment and from which both regret and light must be expelled for ever. And there lies it’s vulnerability for from the moment that Bilbo first entered it deep below the Misty Mountains and chose, for the sake of pity, not to kill Gollum it has been at risk. Gandalf said that the pity of Bilbo “may rule the fate of many” and it does. This is what it means that Hell is harrowed by the crucified Christ whose words spoken to his executioners are “Father forgive them for they know not what they do”. Hell simply absorbs into itself an attack mounted in its own terms of lust and resentment. It falls when the attack is mounted in pity and in mercy and by those who have no desire to rule in Hell.