It is also possible for virtue to turn into mutable karma. Therefore important that we safeguard all our virtuous karma as best we can. There are two ways to do this. One is dedication. The other, a better way, is to understand fully the meaning of emptiness, that is, knowing that virtuous karma is intrinsically illusory, like a dream. If we can contemplate in this way, even if anger arises it cannot destroy the root of virtue. Because anger is a defilement, a mental affliction rooted in attachment, it is incompatible with the view that all phenomena are illusory. But the virtuous actions we performed are directly associated with attaining realization of that view. Since something mired in attachment is inferior to the virtuous root planted with wisdom, anger cannot destroy this root of virtue. If we have neither attained any realization nor dedicated merit, but are constantly filled with anger, virtuous karma will be destroyed very easily. For ordinary people, the best way to preserve accumulated good karma is through the dedication of merit.
~ Luminous Wisdom Book Series 1: On Cause and Effect