Let's say you are unhappy at your dev job. Maybe you are burn out. You've been denied a promotion, the codebase is crap, whatever it is, you are done. You cannot take it anymore. So you go on Reddit and the first advice you get is, hey, you should definitely switch jobs because you are a developer and there's always something better out there. And you know what, job hopping it's not a problem because everyone does it.
False. Don't do that. It will ruin your long-term career prospects. You won't have 10 years of experience, but one year of experience 10 times. And with time, no one will consider you for higher level positions, like architect, tech lead, or CTO. Instead, just stick around for a bit. See if this is just a temporary roadblock, or the place is crap. Talk to your manager about it. And if the situation doesn't improve, or your mental health it's at risk, then go ahead and quit.
But don't do it impulsively, as you might overestimate the easiness to find another job.