I stayed at my first job for almost six years and I still regret not leaving after about half that time. It was my first job after graduating from university and moving to a new city, so I had made a number of friends there too.
Once I finally did leave I was much happier and I had less fear leaving future jobs. I think part of it was confidence too, my next job had me working with a lot of awesome people and I was able to hold my own which boosted my confidence immensely.
My current job might have taken the record for how quickly I sour on a job though ☹️
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.