The Buddha has some wise words. Some of the wisest, in my opinion, are, "Attachment is the source of all suffering.
If you're hurting, it's probably because you're still attached. Maybe it's an ideal. Maybe it's a person. Maybe it's your job.
But if it's an attachment, sooner or later it's going to be challenged, so don't be suprised when it does. Rather consider the nature of the attachment. Is it something you really need, or could you let go of it?
The less we hold onto, the more flexibile we are. And flexibility is never a bad thing.
You've only got so much time. Make the most of it.
As always, stay 12.