Take a wider outlook on life.
You’ve been in this environment for 10 years, it is only healthy to be where you’re at right now in your mind.
With a high probability you enjoyed tech and valued your career highly and was rightfully proud of it.
To be happy with life in the next decades the key is probably not tech, or what does your heart and stomach tell you?
Are there goals that your inner you tells you to strive for?
Dare to look beyond tech and work. Travel, love, companionship, philosophy, listen to your 80-year old neighbor etc!
Whatever direction you choose it must be your active choice to give meaning.