One thing that should also be emphasized is that there is a great number of PhD candidates that never actually finish, in some universities that number is more than half.
Many of these, before quitting, teach to help pay tuition and do all sorts of tasks for their department/supervisor that are not related or help them finish their PhD.