No, but the desire did betray Gollum to a bitter end...
Lessee, how about this:
Right after Gollum had been caught, Frodo says, "Would you commit your promise to that, Sméagol? It will hold you. But it is more treacherous that hou are. It may twist your words. Beware!"