I don't think it's purely luck.
But I don't think it's purely down to what parents do, either.
Let's face it, every child is an individual - some will naturally need more sleep than others, or find it harder to wind down and settle to sleep than others. Some will naturally have bigger appetites or a more adventurous palette. Some will be naturally quieter, or more eager to please than others.
All of this will have an impact on how 'early' they sleep through, how 'good' an eater they are, how 'easy' they are to manage behaviourally....but what parents do will have also an impact on what their child does, regardless of that child's natural temperament.
A child might naturally find it incredibly hard to wind down and settle to sleep, for example. But if they have a parent who is consistent about bedtime, they will probably benefit from that and sleep, perhaps not brilliantly, but better than they might have done without that consistency.
Similarly, a child might naturally tend towards fussy eating and go through long phases of food refusal and fussiness. That might continue to be their natural tendency, but again, if they have a parent who doesn't panic about it and is consistent about mealtimes, they might conceivably end up a better eater than they would have done had their parents gone down the 'give them cheese sandwiches for every meal because that's all they will eat' approach.
OP I can see where you are coming from but I think overall YABU. There's a lot more to parenting than luck.