> for ordinary people, you are going to be exposed to some opportunities to succeed from time to time, but in a random fashion
There's a saying I really love
The harder I work, the luckier I get
The way I interpret this is that by working harder you make yourself able to take advantage of more opportunities that come along. It "increases your surface area of luck", effectively. The opportunities still come at random, but work helps you capitalize on that luck. As a dumb trivial example, let's say you're a recent college graduate just having a drink at a bar. You just happen to talk to the person next to you and they tell you they're working in the space you studied and are hiring. If you didn't go to school, you wouldn't have been able to take advantage of that lucky situation.
I definitely agree that it is important to look at failures and learn from them. There's a large bias for ignoring luck's role in our (or others') success. Sometimes to the point of becoming superstitious, like replicating patterns of successful people that have nothing to do with their success (e.g. their daily routine). But when looking at failure, it is also important to remember Picard[0]
It is possible to commit no mistakes and still lose. That is a weakness, that is life.
Sometimes people fail because they got unlucky. They did all the right things, but at the wrong time. This isn't the answer to all failures, but it is to some. It can be difficult to determine the difference, but just because it didn't work for someone before doesn't mean it won't work this time.
If luck plays a role for success, lack of luck plays a role in failure. With success, we tend to underestimate the role of luck. With failure we tend to overestimate it. In neither case can it be ignored.
[0] https://youtu.be/mr2Jdp4fdD0?t=38