It matters where you set the achievement bar. Sure, if the goal is "internationally recognized expert," perhaps luck is a stronger factor.
But if the goal is, "strong enough programmer to write a spell-check algorithm from first principles," then work-effort might very well compensate for a lack of advantages in upbringing or other "luck-factors."