What is the meaning of [Early bird catches the worm.]

One who starts early on the work has higher chance of success.

Example: X: Why have you come so early for the season-ending sale? Y: So that I can choose from a wider selection and get a better piece. Early bird catches the worm, after all.