The problem is you never know if it is going to be better or worse. My experience is that it is mostly the same everywhere. What changes is the paycheck, company logo and the faces
I may have gotten lucky at avoiding jobs that turn out to be stinkers. Hasn't happened to me in the last three job switches. (One turned into a stinker after I'd been there a few years, due to management changes. I left.) But I don't think that the odds are as bad as you seem to think they are.
But really, you have only three options. You can put up with it, you can fix it, or you can leave. You don't want to put up with it. You sound like you're asking for how to fix it, but I'm not sure that you realistically can. (Certainly I've never been able to.) That leaves only one option.
I don't really know what to do except save my money and move to the forest one day. Only half joking.