also, I think you guys are selling how in demand software engineers are in general. I had almost no problem finding this job (After only a year at my previous position) and don't think I would have any problem finding another one if something goes wrong
Again, if you want to be a low rung code writer for most of your career, that is fine. If you want to move up in the world, then when people start seeing constant job changes, red flags are going to go up.
We've passed on hiring because of that, tbh. Frequent job hoppers have a negative perception unless it can be explained with contract work.
I read something recently that people who don't job hop after 4-5 years are viewed as unmotivated.
Some of the most successful people I've worked with have often told me they view their careers in 5 year chunks. Some of them have been at the same place for 30 years, because they met internal career bogeys that resulted in new 5-year targets being put into place while keeping the same job. Some of them have been at 3 or 4 different places over 15-20 years.
For me, at least, I thought this was a good way to plan both long and short term for what I want my career to look like.
Also, I suspect Malka is talking about people who have 3 jobs in 5 years. I don't think being at two places in a decade, for example, would be viewed as "job-hopping." Or, at least, I would not when I was interviewing a candidate.