You didn't fail her, sweetie, you loved her very much, and that is what matters most. I am sure when you meet again one fine day at the Rainbow Bridge, she will greet you with jubilation, no memory of the illness whatsoever.