If you really like software engineering, I don't think a career change is necessary.
I'd suggest finding something to do outside of work, volunteering, joining a casual sports league, find meetups centered around your hobbies, etc. to give your life meaning and get yourself more active.
I'd suggest finding something to do outside of work, volunteering, joining a casual sports league, find meetups centered around your hobbies, etc. to give your life meaning and get yourself more active.