There are hotel maids that work harder than any of us ever will. Nobody knows their name. This does not result in them getting appreciable amounts of career-enhancing luck.
There are people who achieve a brief bit of Internet stardom, on the basis of a shallow connection, such as e.g. being the person a photo a meme was based on. You will probably not retire on being a meme.
However, if you've written OSS that is key to 100 companies or if you have a blog read that 5k developers would cite as one of their top five or if you got two dozen people their jobs or yadda yadda, you'll be freaking amazed how many lucky opportunities come your way.
In reality, luck plays a huge part. When you see the hard working landscapers around your building some morning, you should be thinking "That could be me if I hadn't won the ovarian lottery."
For example: I don't doubt the the Winklevoss twins are hard workers [you don't get into the Olympics without hard work] but I think it would be reaching to ascribe their current station in life to just hard work.
Personally, I could not agree more. And five years ago, I think if you'd asked that question on this site, and overwhelming majority of respondents would have said that this is a no-brainer, where the answer is clearly "yes".
Now? The dominant clique here now will laugh at you for saying this, and accuse you of believing in Horatio Alger stories, and will tell you that all success is good luck, and that you can claim no credit for your work and any resulting success. Work ethic, dedication, passion, sacrifice - these things are verboten now. Now everything is luck, "white privilege", "male privilege", "western privilege", or some other excuse to disparage the individual and encourage a feeling of helplessness.
As for me? I say "you make your own luck".
An interesting thread on this topic from a few years back is here: https://news.ycombinator.com/item?id=6083826
My comment (well one of them) is here:
https://news.ycombinator.com/item?id=6086079
And just for encouragement: