Good things and bad things happen to both good and bad people for different reasons. God always blesses those who love him. Good things encourage them, making them even more grateful to him; bad things draw them close to him, making them even stronger. In fact, bad things would be a big blessing if they serve as part or the whole of their purgatory. As for the bad people who do not love God, good things happen when God rewards them for their ego. If this is all the reward they are going to get, it would absolutely be bad news. On the other hand, when bad things happen to them, they can be blessings in disguise, for God is trying to wake them up to realize that they need him.