midwives also were killed for their heretical practice of using medical knowledge to ease the pain of childbirth - a suffering , the church claimed , that was god 's rightful punishment for eve 's partaking of the apple of knowledge , thus giving birth to the idea of original sin .