OMG. I am in shock. I am so so sorry to hear this. You didn't fail him. Something was obviously going on that the vet didn't diagnose and you tried your best based on the information you had. Sometimes no matter how hard we try, we can't fix the problem. RIP Max.