He wasn’t a Christian but even a Greek physician knew inherently that abortion was wrong. That is why he included a ban on abortion in his oath which new doctors took and take.
I suspect modern medical schools have eliminated the abortion part.
You are referring to the Hippocratic Oath, which did forbid abortion and euthanasia. Today’s physicians usually take a vague oath to obey the law or something similar.