It’s only luck if they are handed it IME. We have an intern at the moment at work, who comes from a very rich (parents are in government - foreign country -very wealthy) family.
They are 20, and have clearly spent their entire childhood throughout school not listening or learning anything they don’t think is relevant to them, such as the religion of the school into which they were placed, or the history of the country in which they now live, since they don’t think they will need to.
Such arbitrary dismissal of topics that a 6 - 19-year-old thinks they won’t need to know, and from an early age, without apparently being told they need to learn everything they can, is a dangerous premise.
Trying to train them to do tasks is a nightmare - they not only have the attention span of a goldfish, so everything has to be explained numerous times, but are also apparently incapable of retaining any information.
What a contrast with a previous intern, child of a global company owner/director, who had achieved extremely high results in all their exams, but was also an accomplished musician and artist. They “got” everything on the first instruction and proved to be a valuable employee - something their father was keen to promote, since they would inherit the family business one day.
The difference between these two is like night and day, and yes, luck did play some role in the second intern described - the luck to have parents that set the bar high…
But it’s not only wealthy parents that set the bar high: a lot of poorer parents also encourage and support their DC, and quite a few DC work hard without that encouragement, too, because they have ambition.
Those who have been encouraged or have ambition normally make their own luck!