Everything depends on luck because anything can be outside your control. For nearly everyone effort, Opportunity and skill are more important but luck is always involved, Depending on the situation the same action can have very different outcomes. Some people are born already successful by family/social group connections, Some would never have the chance to be successful but most can and it's down to what they put into it.
Newton tried investing in stock and ended up losing a lot of money. Some clueless people invested in apple and became super rich.
A football player invested in car washes and lost his investment.
Some success depends on luck. You can work hard and work smart but at the end of the day a lot of business fail. Yes you hear of Bezos and Tesla and Jobs and Gates working hard, But they had some luck and were in the right place at the right time. They met Wozniak or they stole an idea or they were rich or they had a loan or had rich friends.
If success is all hard work then why are you so broke and why do I see broke college graduates and broke people who claim they are better than everyone.