I sympathize as I had a lean patch after the dot com bust around 2001 aged 47 that lasted until I got another regular dev job in 2007. My problems were mostly financial although I did have some fun outside my marriage and also in places like Tijuana without getting caught as far as I know. My skills got out of date and it was pure luck that I got hired and was able to reconnect to work with the current toolset. Looking back all the best life-changing opportunities came along without any warning out of the blue. Not things I was looking for but I wasn't just sitting at home I was out doing things when I ran into them.