Galatians 3:13
NKJV - 13 Christ has redeemed us from the curse of the law, having become a curse for us (for it is written, "Cursed is everyone who hangs on a tree").
For follow-up discussion and general commentary on the topic. Comments are sorted chronologically.
Jack Gutknecht
Practical alternative steps for your church --
Instead of automatic expulsion, consider:
Private pastoral counsel to confirm repentance.
Temporary pause from public ministry roles (if she held one).
Support for her and the baby (medical, emotional, spiritual).
Equal discipline for the father (why is he not mentioned in your policy?).
Restoration plan: after a season of accountability, welcome her fully back.