Frodo held out longer than most, but the power of the ring is impossible to resist. Even Sam would have cracked if he had carried the ring as long as Frodo did.
To take the Christian angle, which might be what Tolkein would have hoped, the idea is that everybody needs redemption. Frodo's redemption came in the form of . . . Gollum, I guess.