There are some people in this world for whom things can't come just like that. Some people in this world have it rough in their lives, find many obstacles in their path - but I don't think this is necessarily a bad thing. On the contrary - these difficulties bring out what is best, what is kind, what is beautiful inside them.
Sometimes it gets difficult - no matter how wise one is, still it's rough to see around you people who have it easy and yet you have to struggle so much for every little achievement in your life. But this is how one learns to truly appreciate the valuable things in life - people are there for you when you are doing good - but those who stick around when you are doing not so good - those are the truly valuable people one should have around. So the first and most important thing is that you get to have valuable people around you. Second, one learns to appreciate the really valuable things in life - a shelter, food, clothes, even if you don't have the most expensive brands. Then very important - one learns to appreciate the beauty in others - the shell is ephemeral, the outer beauty fades away. But a beautiful soul and a beautiful mind remain forever.
I don't think such people are cursed or punished for something. I think such people are actually blessed - they gain a certain knowledge about the world which is not accessible to most people. They become wise. And God never lets such people down - if we look superficially they may have it hard on them; but on a closer look, the knowledge they gain from such a destiny is actually the most precious treasure one can have in life.