Workers who aren't preparing themselves for a possible layoff or firing are kidding themselves. Before I left the company I was working for over twenty years I was preparing. I had a Plan A (stay long enough to retire) Plan B looking for another job (sending out application, resumes, and doing interviews), Plan C looking for another Job (sending out application, resumes, and doing interviews). I turned down a couple of jobs during this processing hanging on to the current gig. Luckily for me I was able to hang on to my job and make it to retirement and got a small pension when I left (yes, I actually had a pension). I was lucky but I was preparing all the time. I was not afraid to make a jump if need be.
Excellent advice from @6qen+1fAC2O7F. Everybody should be doing this, since there is no downside to it.