Doing this would not, as many believed, cause the spacecraft to leave Earth orbit; rather, it would simply change the shape of Apollo 8’s orbit around Earth from a near circle into a highly elongated ellipse, one that would stretch all the way from Earth to the Moon and back.
They didn’t require the velocity needed to escape earth gravity to get to the moon. This is a common misconception.

