If you had offers and your company announced layoffs but you weren't one of the people being laid off, would you stay?
Layoffs don't happen when everything is hunky dory and just needs some tweaks.
Again, you have in your mind a spherical cow of a layoff.