This is the first lesson to learn: be determined not to curse anything outside, not to lay the blame upon anyone outside, but stand up, lay the blame on yourself. You will find that is always true. Get hold of yourself.
Don't work for fools. It's not worth it. Getting paid less to work for people you like and believe in is much better for you (and your career) in the long run.