you have to be good to be lucky

Proverb

 * 1) People who succeed do so through skill and preparation rather than mere chance.