it is terribly important, i think, to have goals. something to strive for, or look forward to; dividing your life into a bits between these (positive) mark points would seem a bit easier a task to tackle than trying to handle the whole thing on one go. it is easier to endure some inconvenience if you know that somewhere in the somewhat near future there is something better awaiting -- which is not to say of course that one shouldn't try to make the best out of every situation.
if you lose your goals and things to look forward to it might be categorized as depression -- the lack of anything positive in sight is probably one of the most defeating feelings one can experience. but if you can somewhere inside find the trust in the fact that things will get better -- well, that's a whole different situation then.
what can sometimes be tricky is to have these goals but lose faith in them; want something but at times start to doubt that perhaps it is not attainable. when the feeling emerges one has to take a deep breath and re-evaluate the situation; for a while let go of the goal and observe how the future would look like were the desired situation not achieved. it can be difficult as these things in question hold a lot of value, and to consider the possibility that they would not take place can raise sadness, even anger; so one has to try to step outside of himself or herself and be objective about it all.
and most of the time it becomes apparent that there are plan bs, and cs, and even ds; that life offers, after all, so many possibilities that if one is not actualized, another one will be. or it can even happen that when re-evaluating the situation one realizes that the goal is outdated and obsolete, and that not achieving it doesn't really matter all that much anyway as there are other things out there.
because there always is, you just have to find them.