I really like Dan Harmon’s advice to young writers in the sidebar to THR’s showrunner feature:

Entertain yourself. Luck comes just as often (and just as rarely) to every writer. Don’t be the writer that got lucky doing something they hate.