that is just what is seems like to you. you know, that is a very famous concept that has been discussed throughout the ages. the "why do bad things happen to good people and vice verse?" question.
you can take it or leave it, but this is pretty much what religious Jews think: G-d gives us good if we do good deeds, and punishment if we do wrong, correct? but that reward or punishment is waiting for us in heaven, the garden of Eden. we don't find out exactly what that is until we get there

so the people who do not follow the Torah have good in this world- everything they could ever want. but once they pass from this world- whoops! others who follow the Torah have bad in this world, kind of a "get it over with" type of thing because the good we will get in the World to Come will be much greater than anything we could ever imagine here in this world.
we have a saying in chapters of the fathers that even a whiff of the World to Come is better than anything in this world combined.
if you don't believe in the "after life," i would be more than willing to buy yours off of you. name your price and i will buy your portion in the world to come. are you willing to take that chance?