Think about the few, most important achievements that are yours in your whole life and seek more of the same, if necessary switching jobs or even careers. Do not look for causes, especially not for causes of failure. Imagine, and then create, the circumstances that will make you both happy and productive.