This is risky advice. Many (most?) people need social context to create meaning and will get depressed if they don't have a job to do and people relying on them. Look at what happens to people when they retire.
Not advocating for social isolation!
Maybe work is where you find meaning socially. But there are : church, gym buddies, so many other social outlets.
I'm saying it's okay to not WORK for a living. You can work on hobbies, things that bring you joy, volunteer, but just not be on a 9-5 schedule and just chill for a while, to recover.