When it comes to choosing a job, there is a lot of factors that come into play, but generally, the decisive factor is the amount of compensation, which is, of course, unfortunate. As James Clear nicely put it:
There are 4 types of wealth: financial wealth (money), social wealth (status), time wealth (freedom) and physical wealth (health). Be wary of jobs that lure you in with 1 and 2, but rob you of 3 and 4. – James Clear
But I’d say that this picture is not complete, because there are at least two kinds of wealth that have to be considered as well: knowledge wealth (wisdom) and happiness wealth (satisfaction). When you believe in what you do and are glowing with enthusiasm, the job is probably worth it no matter what the other factors are, so I won’t dwell on the satisfaction. Now, speaking of IT jobs, they are relatively harmless for the health and are more or less the same in terms of the status and the spare time they provide. What differs greatly from company to company is their potential to give the candidate the necessary experience and knowledge to take him to the next professional level. In the long term, it’s far more important than money, because the proficiency strictly converts to money and not the other way around. Besides, stagnation can easily lead to depression, so here’s another reason to always aim for knowledge. And yeah, once you stop progressing, quit.