Sisyphus was known for his cunning and deceit. He tricked Thanatos, the god of death, into being chained, delaying his own death. He was punished in the Underworld by being forced to endlessly roll a boulder up a hill, only for it to roll back down again.
It's possible you're thinking of another story, or perhaps a modern reimagining of the myth. If you can provide more context, I may be able to help you further.