The Dubner Magid offered the following parable: A king owned a magnificent diamond which accidentally sustained a deep scratch. The royal diamond cutters said no amount of polishing would remove the flaw entirely. But one expert volunteered, "I can rectify the flaw in a manner that will render the diamond more valuable than before." The king told him to go ahead, and with great skill he engraved rose petals on the diamond. The deep scratch served as the stem of the flower.
Similarly, said the Dubner Magid, a person can transform negative traits into virtues. With creativity, you can use your mistakes and faults in a way that will gain you more than you would have otherwise.
(Rabbi Pliskin's Gateway to Happiness, p.226)