Do you have any evidence, or you're just speculating on your own experience? Most people would, of course, never admit they got hired based on luck instead of merit.
However, I'm more inclined to believe the entailments of my own experience than the informal inferences of some stranger. I encourage everyone else to do the same.
I might argue that I even have "data" in the form of a reasonably large group of professional acquaintances. "Luck" is nothing but statistical noise, and a large number of people and a large number of job applications helps damp down the noise. There is a very obvious trend in the form of more meritorious people performing better when applying for jobs.