When the joy of the job's gone, when it's no fun trying anymore, quit before you're fired.
or simply: