go the distance
Carry through a course of action to completion. For example, He said he's willing to go the distance with this project. This expression originated in boxing, where it means “to last for all the rounds that have been scheduled.” In baseball the same term means “to pitch an entire game.” For a synonym, see all the way, def. 1.