It's always really hard to be let go, especially when you were a successful person in the company. Sadly, companies choose the people to fire by some obscure means, mostly the money earned. I've been recently dismissed from work due to "reorganisation", and it really hit me hard in terms of psychological health. Please take care of yourself, do not lose your strength, don’t let your sense of self-worth be harmed by this (I got really vulnerable after this event), and wishing you good luck in finding the next job!