Layoffs are being announced seemingly every day.
This will keep happening as long as 1. interest rates stay high and 2. companies continue to prioritize/maximize revenue per employee.
Take this as your sign to start working on your Plan B.
Upskilling, networking, passively interviewing, emergency fund etc all viable options.