Is it ever OK to quit?

Is it ever OK to quit?