Realizing it all depends on you is the easy part, actually being able get past it is hard. Luck plays a large portion on whether you become rich or not. For example it'll be easier to become an entrepreneur in America than in many 3rd world country. The community you are born into for example also depend on luck, since it provides you with your initial network.
Then we come to the personal part, like do you got the disposition to be interested in something that would become profitable later, hence becoming one of the pioneers?
Some people have advantages and even have better opportunities to grab but things don't end there. Having the perseverance to change our path still relies on our hands. We're the ones who can make a better change by searching for opportunities to earn. It may be hard at first but if we have the willingness and courage to change our fate especially if we're from a poor family, we must be fully motivated to stand firm and do the best moves for the betterment of our lives. We can't rely everything on luck if we're not going to have perseverance.