The race is hard, but you must guts it out to finish.
guts out
idiomTo persevere through; to complete in spite of pain, etc.
Even though his leg was cramping during the final mile, he decided to guts it out and cross the finish line.
Despite the overwhelming exhaustion and the biting cold of the mountain pass, the climbers chose to guts it out until they reached the safety of the base camp.