First - people usually point out that it might be depression, so look into that.
Then you could consider joining a startup (a real one. small team, tech focused). You could also consider taking on new challenges - new lang, new role (devops/fe/be/pm/arch).
Be prepared for a salary cut.