All other comments in the post are gold.
Always stay relevant with skills and knowledge relevant to the market - one day you work for papa Google and everything is great, another day you’ll get fired without you seeing it coming - job is not a family.
It’s fun and games to master a skill/technology, but if there are no jobs for that, that is a red flag.
Generally it’s important to keep the hobby-job balance, and to understand that sometimes your hobby specifically won’t be your job, and that is OK because most of the people are like that.
There is no one perfect solution unfortunately.
Meeting a therapist will definitely help to identify the root cause, and eventually will help.
Also, see my post YSK: Understanding the work burnout experience, treatment and preventions
As currently there is no one perfect solution, it’s time for you to learn what solution will suit you.
Good luck mate
Join fee + weird recruiting = Fonzie scheme.