Whatever you think of de Sade, he was a complex figure and we should not look for easy answers with him. He was, strangely perhaps, against the death penalty, and he was never put in prison for murders or anything like that.
To rejoice in another's prosperity is to give content to your lot; to mitigate another's grief is to alleviate or dispel your own.