The Book of Revelation has a lot of symbolicism in it.
It is correct that the woman clothed with the sun is the Israel, the Church, and Mary.
You also failed to realized that John wrote the the Book of Revelation. In the Gospel of John, he often address Mary as woman.
John Chapter 1:2-4. And Jesus said to her, “O woman, what have you to do with me? My hour has not yet come.” His mother said to the servants, “Do whatever he tells you.”
John Chapter 19:26: When Jesus saw his mother, and the disciple whom he loved standing near, he said to his mother, “Woman, behold, your son!”
Revelation Chapter 12:1-2
And a great portent appeared in heaven, a woman clothed with the sun, with the moon under her feet, and on her head a crown of twelve stars.
If you interpret this passage in a literal sense the woman is Mary.
The woman gave birth to a male child who is King of Kings and Lord of Lords. The King is Jesus.
Rev 12:5 “she brought forth a male child, one who is to rule all the nations with a rod of iron, but her child was caught up to God and to his throne,”
This male child who was caught up to God is Jesus who is now at the right hand of the Father. So we know for sure this child is Jesus.
Israel didn’t gave birth to Jesus if you want interpret
this in a literal sense.
The main characters are:
Literal:
- Child: Jesus Rev 12: 13
- Woman: Mary Rev 12:1
- Dragon: Satan Rev 12:9