Such golden piece of advice.
I'm sorry that you had to go through several layoffs to collect this wisdom. It must have been rough.
One additional piece of lesson, if I may add: Ask for help. Many people don't always know what we are going through such times and it's important to ask for help. A lot of people are ready to help only if we know how to ask!