And there are two types of pleasure for G-d, 1: when a tsaddik turns the bad into good, and gets rid of the bad. 2: that a person overcomes the bad and does not follow it even if the bad stays in its place. And this is just like one could have two types of good food, 1: they are sweet. 2: they are really bitter, just they were spiced in a good way until they are eatable.