Layoffs aren’t “playing with people’s lives”. Employment is only by mutual consent and everyone knows that. Consent can be revoked at any time which is why anyone prudent (especially in a software engineering role) isn’t living paycheck to paycheck.
Don’t blame a customer for the vendor’s irresponsibility.