Buddhism is not necessarily good or bad, it's a bunch of inegy that determines why you're going to next life. All causes effects, and all effects have causes. Just because i'm enlightened doesn't meanthat i become free of all my past gunmas. It's just a debt that i had to pay go. Some people say that the world is a random place, and sometimes just random bad things happen to good people. I think that's a completely fine hypothesis too. In the middle, i think there's just the simple principle of cause and effect which is garma.