Success = luck + talent + discipline (any combination of two or more). The only thing you have control over is discipline, and many writers are disciplined writers.
So do work hard, but don't discount the other two aspects. You need at least two to attempt success. Luck will get you there faster, but discipline will keep you there longer. Talent is overrated in many cases. If you possess all three -- you've struck GOLD.