to continue playing in a competition or sports contest until the end
go the (full) distance
to continue playing in a competition or sports contest until the end
Nobody thought he would last 15 rounds, but he went the full distance.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition