A know-it-all attitude is one thing, but a person's inability to accept their wrongdoings is unhealthy.
1. He never seems to be sorry for anything that he does and is always quick to blame other people or the situation for his behavior.
2. He'll try to blame the situation for something that he did or other people's behavior for something that he did.
3. He likes to make jokes about the situation
The best way to handle your husband when he is in a bad mood is to stay away from him until he calms down. When he starts acting nice again, go back and talk to him calmly.