This saying means that when someone is good, they are superb, but when they are bad, they are even more exceptional. It implies that they are more interesting or entertaining when they are doing something bad or inappropriate, than when they are doing something good. In other words, doing something wrong can make someone even more impressive in the eyes of someone else.