overcoming negative thoughts midlife