Oh man, TF. Our situations sound eerily similar. I have those same thoughts, is it all my fault, what could I have done better, etc, etc. Self-ID what issues you have, work with your IC and make a plan to do better, but know that your W is full of her own set of issues and as great as you could have been, know that it may not have changed where you are today.
I'm rooting for your success, whatever that looks like.