So, like, what is it that makes you miserable at your job? Do you like to work with people? You like to not work with people. And thetese will make huge differences in terms of the misery of your job. So if you're leaving, then you need to think about these dimensions ahead of time - instead of randomly going to another job.