This actually happened to me professionally.
A while back I was in a spot where for lots of good reasons, I decided I needed a 'reboot' of things; I had spent a lot of time listening to 'bad advice' and getting screwed over by bad people, and tried to have a bit of a clean slate.
I wound up finding a new job and a new girlfriend. Both felt weirdly stressful but I foolishly assumed it was just because they were both new things to me and I was 'out of my comfort zone'.
What I later discovered, was the 'boss' at my new job had actually tried to boast to certain people that he was trying to get me to quit, because he never wanted me on the team (He was sick for my first interview, and the person above him told him to hire me.)
He'd pull stunts like 'Oh I'm just gonna pull you into this meeting about our Crystal reports' (I was still new there and only knew that 'they existed in our legacy system') and then at the start of the meeting just a couple hours later, tried to claim that I was the subject matter expert on our Crystal reports! (Thankfully, I did use what little down-time I had, to do some basic digging and was able to at least speak to a potential solution to the problem they wanted to solve...)
Any time I wanted to get moved off the 'Support team' I would be given some seemingly impossible task to 'prove myself'; at one point I created a modular UI Frontend where different modules as ASP.NET MVC sites had backend logic to 'register' themselves with the main presentation service; thus delivering the ask, but he never even looked at a line of code.
And yeah they were a 'charmer'. He hoodwinked the whole board with empty promises and when he was finally found out (toxic behavior and all, the whole dev team had a 'group therapy' session or two b/c most folks were mistreated by him on some level) none of the code he produced ever really saw the light of day...
Couple that with partner that wasn't real, just using me to not feel lonely while her actual partner was busy in premed...
I suppose the irony being, that 'fake' partner is now a technical writer, working at the same company where the director who got me hired at the job with the shitty boss... (No that 'partner' didn't work at the place I worked at, but it's still just crazy as far as coincidences...)