There is a difference between quitting tasks and knowing when something no longer serves you and the best course of action is to walk away. It is ok to change your goals or objectives of your life. If you have given you all and continuing on the path is painful, then find a path that fulfills you. Changing course does not indicate failure; rather, it illustrates courage.
Allow yourself to change coarse, it might lead somewhere amazing!