Speaking from experience, I can say that typecasting problems are a striking example of this process from a different perspective. In that case, you're given lots of opportunities, but not the ones you're looking for, for reasons that have to do with others but not yourself.
A lot of what we discuss isn't luck at all but social dynamics and others' perceptions. Sometimes that involves skill; sometimes it involves luck, and sometimes it involves something systematic but ultimately outside the control of the individual.
I mean, I often write about underrated creators on sites like YouTube, and while there's definitely some semblance of a correlation between marketing effort and success, it's very much a minor one overshadowed by a lot of other things. I know plenty of people who worked far harder than I ever could, and ended up struggling with only a few followers as well as people who seemingly just lucked into success purely from one random friend having existing popularity.
And I suspect it's similar outside of the internet too. There's a correlation between open mindedness and trying hard and promoting yourself and success, but it's not an absolute one and often overshadowed by a lot of other things.