
First of all don't beat yourself up. Just as with humans, cancers, for example, claim the lives of our dogs too. In my breed, I knew of one line out in the States that used to be lost to this (not sure if it was always the same type of cancer or not) at a far too young age. I did have some of that in my line (I wanted their fab. back ends and temperament!) but thankfully even those we did have who we lost to cancer, died well over the expected length of life for the breed. In other words the cancers we had all hit at around 13 and upwards. Much as I didn't like it, I tended to think we all have to die from something. I have to say I always heaved a sigh of relief if I got mine over 8 which seemed to be a threshhold for the breed. I had one litter, all males, who all went earlier to cancer and that was worrying!
Could be some connection between these too early losses to various conditions, and worming (?) - after all it's putting a chemical into the system. And I tend not to worm unless I know there's a need (fecal or visually!!). All this worming that vets advise doing, for me, isn't necessary. But I guess it depends on where the dog lives (access to what other dogs, or wild animals for that matter, drop). We have, until now, always lived 'in the sticks' with our hounds and honestly apart from puppy worming, from 2 weeks, they have NEVER needed to be wormed into adulthood and beyond. Flea/tick treatment - we have always used the now apparently unpopular collars when needed (usually for only 4 months of a year).
I think best you can do is take note of these sad losses, and if you start getting a pattern, stay away from those particular bloodlines? Sadly when you breed, you get the occasional curve-ball. The secret is to know when to react, and when to realise they are just living beings, and stuff happens. My opinion.