I'm constantly playing back the last few months and beating myself up about "why didn't I get it together earlier, why did I continue to push her away?"
OK we all have done that, just know that it would not have mattered. You didn't break her and you can not FIX her. Start working on yourself now and become the best YOU can be.