In philosophy, it is not the attainment of the goal that matters, it is the things that are met with by the way.
Although sometimes I might sound sometimes idealist or too optimistic but I think my father used to say to me in everything bad there's something good that is going to come out of it and there will always be a tomorrow.