Because of the structure of labor market, for highly competitive jobs luck is also very important:
https://www.youtube.com/watch?v=3LopI4YeC4I
It does not meant that merit do not play role, simply there is so many highly skilled, and good candidates, that only small percent of them will get the dream job.