Go the distance

To do the whole amount of something, to finish something.

I was able to go the distance and finish my project without any help.