Just to be clear, that statement negates the idea of luck.
To be clear, most people have average luck, so with average preparation and an average amount of hard work things will turn out average, on average. Helps if you're born rich and all that, but on average this holds some truth.
Sometimes, you'll be unbelievably unlucky, and no amount of preparation will fix that. But that's unlikely, so you have agency.
The idea here is that being successful on any venture is half chance (luck). If you're creating more chances (putting in the work, "being prepared") you're creating more chances.