On the flip side of that, don't stick with a failing endeavor just because it is hard and you have put a lot of energy into it. Make an intelligent analysis of your current position and trajectory in life, and decide whether or not to change your direction based on your long-term goals. Sometimes sticking with it is the right answer... sometimes it isn't.