The woman in Rev 12 is not the “nation of Israel.”
Galatians 4:26 says that Sarah, symbolic of the Jerusalem *above*, is the “mother of us all”. (Yes it does). Paul explains that Jesus Christ is the child/seed of promise (Gal 3:16). And those who believe in him are also children by virtue of “being in Christ.”
Not Mary; not Eve (though a good guess), and definitely not the rejected “children of the bondwoman”. But faithful Sarah.
And that has nothing to do with the woman in Rev. 12...THAT woman is the Nation of Israel...