Do you not have a senior developer at your company you can pair with as a mentor? This should be someone who you can look to for not just software skills, but career management skills.
I'm intermediate and have filled the role of senior dev and tech lead in the past (unofficially). My problem is that tech was a dead end (Neoxam and FileNet).
Now I'm stuck learning/relearning multiple languages (python, java) and stacks (ECS, lambda, Dynamo, S3, etc). I've been on this team for 6 months and have never used the same tech twice. For me, that makes it very hard to become an expert when there's no chance to use the same tech again - I need some repetition. I want to get to the point where I don't have to think about the stack or the semantics/features of the language and just focus on crearing a great solution. That's never going to happen here.
I also lack the drive anymore. I've been screwed over, passed over, and had my prior positions outsourced to contractors. I feel like why should I try hard if the company is just going to throw me away again.
It does. Because of the disfunction, I am no longer feeling the drive to become an expert. Why become an expert if the company has thrown me away in the past (outsourced my job to contractors)...