Don't forget how effective opiates and opioids are at controlling diarrhea and other gastrointestinal issues. At the time, dysentery or cholera could easily kill both infants and adults due to extreme water and electrolyte loss, and opiate-induced peristaltic paralysis likely saved many more young lives than the use of such potent drugs took away.