I made peace with the fact that being good at what you do and being dedicated won’t help you keep your job. I realized years ago that a highly skilled veteran can be let go while someone younger and cheaper stays. So, while I did my job well, I made sure not to go above and beyond unnecessarily.
Knowing this, I’ve prioritized my well-being and kept other options open, at least tentatively. Since we found out about the reorg, I stepped up my efforts and I lucked out. I have another job secured.
So, don’t despair. The days of loyalty and appreciation are long gone. A sense of professional fulfillment and accomplishment isn't really an option. Think of yourself first, your needs and your future. Everything else will fall into place.