We cannot choose to be born poor or rich, but when we are born poor it doesn't mean we don't have the opportunity to become rich. How to make that happen, yes, by trying and not just sitting idly by while waiting for a miracle to come, that's a ridiculous thing. The process will not be easy, it must be very difficult, but while we try, there is no impossible word. Yes, I understand that fate says otherwise, but that doesn't mean we stop trying, because life is really about trying to be able to live as well as possible, be it in terms of the economy or anything else.
Everything depends on us, a civilized society gives us the opportunity to choose, we can live in such a way that we have enough for food and housing, or we can strive for more.
It may also depend on whether you live alone or if you already have a family, because if you live not only for yourself, then this can motivate you to achieve a better standard of living. In addition, doing business or making investments is something that requires knowledge and skills, so you need to come to this. And if a person cannot find any motivation, then he will remain at the same level.
This is such a western approach, first of all there are two things wrong with this and we need to tackle them one by one. You are looking at an individualist approach, which means that even if it was possible for people to work hard and get rich and the proof is just some people did it, then even in that case if some other people don't work hard, they won't be living a good life and they should starve and be homeless?
There is no logic behind being ok with your citizens to starve just because they didn't work hard, that's cruel and horrible idea. Secondly, as mentioned before, there isn't enough money to go around for everyone, it is just not enough, and the gap is growing bigger, which means that this work hard and earn option is not available for everyone, even if you work hard, some people will have to not earn enough, that's just how the math works.