Earlier quoted context omitted.
Is overhiring really a problem, would the world be better if companies didn’t overhire? Then many of the people now laid off wouldn’t have had a job in the first place. If you accept a job for what it is, a temporary need for your help, and plan for what’s next, a period of layoffs should become manageable.
Consider my situation. I passed my Google interview in October for New Grad 2023 and was told that my starting date would be April. Now I’m most likely not going to be hired and need to restart my job search and this will have derailed my entire plans for the first few months of this year. I won’t see a cent.
Next time when someone agrees to hire you in the hypothetical future, you will keep looking and interviewing, at least until you have accepted a formal offer from someone.
(I'm assuming here that they didn't give you an actual, formal offer even if they did tell you about a starting date)