From the Buddhist perspective, the type of fortune we encounter, happiness or sorrow, is not due to somebody doing something to us. If I win the lottery, it is not because Buddha selected me for a bonus. No god or buddha is responsible for what happens to us....This does not imply that a suffering person is morally degenerate any more than suffering the consequences of eating contaminated food does. The suffering we experience is due to karma accumulated under the influence of delusion and mental afflictions. This is true for all sentient beings.
The Buddhist response to the non-virtues we all commit while strapped to the wheel of samsara can be inspiring and encouraging. The Buddhist teaching is that it is possible to neutralize negative karmic seeds embedded in the stream of consciousness. Deeds cannot be undone, but it is possible to purify one's mind-stream so that the impact of karmic seeds will be nullified.
The method used to purify the mind-stream is the "four remedial powers" [remorse, reliance, resolve, and purification]. The metaphor for the effectiveness of the four remedial powers is that of burning a seed. Karma, like a seed, can be scorched in the fire of purification so that it will not sprout. The seed won't vanish, but it will not sprout.
--from Buddhism with an Attitude: The Tibetan Seven-Point Mind Training by B. Alan Wallace,