Many dogs "hide" when they are sick.
This is a defensive mechanism to prevent predators from spotting them in a vulnerable state.
they can often be ill for days or weeks before an owner may realize it.
Many dogs will suffer for hours or even days before they die.