First, I understand your feelings. I got let go from a different company several years ago and it never feels good. Even though it's usually not personal it always FEELS personal. Especially when you think about all your contributions over the years. Feelings like, "How could they let ME go after everything I've done, all the long work days, all the good performance evals and kudos, etc.!" Being upset is a normal reaction and no one should attempt to invalidate such feelings.
With all that being true, it's also important to not lose sight of the big picture. What's that big picture? All of us are on this planet for - in the span of human existence - no more than a micro-second. And unless you're very famous when you depart this planet, within just three generations almost no one is likely to remember you ever existed. The point? In the grand scheme of things...none of it really matters.
This short, <5 minute video sums it up nicely:
"A Reason To Stop Worrying: Watch This Whenever You're Stressed or Anxious"
https://www.youtube.com/watch?v=4Tm6Z1y3h94