Q: I'm on the job market. The last job I had was an unqualified disaster because of company culture and lack of commitment to the alleged goals of my position. What can I do to be sure that the next role I take is a better fit?
A: Ask the right questions of the right people, and listen to your gut.
The inner game
You're frustrated and upset. Yep, I get that, but you need to let it go. The unresolved anger will show to future employers, and could very well attract just the type of environment that you don't want.
Commit to a course of healing from the negative experience and understanding your own role in bringing it about.
Realistically, you're not going to think about this once and have it figured out. So, each time you settle in to consider it, create a reflective environment in a calming setting, and use your breath to focus.
What is important to you in a job? Money? Challenge? Status? Relationships?
All of these are valid; however, having a misfit will make you unhappy in the end.
Envision a variety of scenarios: a job that is high paying but too easy; one that is personally meaningful but lower paying; or one that is interesting but has incompatible co-workers. Also, think about past roles.