I have switched industry before and you kind of start from 0.
What you are describing doesn't necessarily sound like an issue with the tech sector, but rather that you are a bit burnt out.
My suggestion: try to take some time off, either by not working or just working on some very unambitious projects that give you time to relax. Do this for at least 2-3 months. Sleep, eat, treat yourself well.
Then slowly start tinkering with whatever tickles your interest (only once you feel like it). This can be a a tech side project, playing the guitar or bartending.
This recipe has helped me re-discover my energy in the past.
It might lead you to something in tech or outside tech.
What you are describing doesn't necessarily sound like an issue with the tech sector, but rather that you are a bit burnt out.
My suggestion: try to take some time off, either by not working or just working on some very unambitious projects that give you time to relax. Do this for at least 2-3 months. Sleep, eat, treat yourself well.
Then slowly start tinkering with whatever tickles your interest (only once you feel like it). This can be a a tech side project, playing the guitar or bartending.
This recipe has helped me re-discover my energy in the past.
It might lead you to something in tech or outside tech.
Just my 2 cents.