Okay, so you need to substitute ‘writing’ for ‘swimming’, but the meaning is just the same. When you get a bad contest result, or a rejection, or your muse has gone on holidays, the only thing to do is to keep on writing – you will get there in the end.