How Do I Stop Quitting On My Runs

I went for a hilly 3 miler this afternoon and had one of those wobbly moments where I nearly walked and jacked it in but managed to motivate myself to carry on with the planned mileage. When I got home I read this article by James Cracknell the former Olympic rower and adventurer. It really resonated with me.