You wont change them or their behavior. So, learn to protect yourself from their failure as much as possible. Then as soon as you can, find a work environment that is better suited to your temperament and personality. Also it can help to take note of the justice of karma acting on their lives.