Good and evil exist as light and darkness, one exist as opposite of the other. At least that'as how Catholics have taught it, and we have learned it.
But if we look in other religions, bad actions has a meaning, to teach. It's hard to learn, to forgive and evolve as a result of a bad experience, but karma has it ways to teach the lesson.