People were encourages to rely on prayers to cure them, dissection of human corpses was forbidden so there were many wrong ideas about anatomy, religious wars cost a lot of money which could have been used on public health.
Positive effects of religion

The Church had set up many hospitals and encouraged people to go on Crusades where they met Muslim doctors who were much more knowledgeable and skilled.