When you're young and bright eyed. You work really hard, ambitious to climb and are naive of layoffs (unless you're plugged into the great new information you get nowadays)...
As you age to 30 and witness/be a part of it, you immediately see what a WASTE of time it was to work so hard on empty promised (by mgmt) dreams that never materialized.
Bottom line is to look after yourself from Day 1 hire, keep your skills relevant and MOVE every 2-3 years to the next gig. Hopefully you can make it into FANG where your pay will at least DOUBLE.
I remember the days when Cisco had once a year layoffs instead of the quarterly scare of thousands lost. There is no reason to subject yourself to this when the market is so strong! Gravitate your skills to software industry and move away from "dead man walking" hardware (unless you love it and it's Apple, Qualcomm, etc).
God Bless to all who lost jobs today. This will highly likely be a "lemons to lemonade" event where your future, in all aspects, will be a big improvement!