Answering purely from Scripture:
One answer is taken from : Mary: Perpetual Virgin? 6 Biblical Arguments | Dave Armstrong, and the rest my own.
Opening:
There isn't one better than from the article:
Once upon a time, virtually no Christians denied that Mary the mother
of Jesus was perpetually a virgin: including Protestants. Of the early
leaders of that movement, virtually all fully accepted this doctrine:
including Luther, Calvin, Zwingli, Bullinger, and Cranmer. Moreover,
most Protestant exegetes continued to believe it for at least
another 350 years or so. But today (for various reasons) things are
very different, so it’s helpful to revisit the biblical arguments,
since the Bible is the authority all Christians revere in common. A
surprising number can be found: so many that they will require more
than this article to highlight the major ones: even in summary.
1. Mary's answer to the angel.
Luke 1:34
(NRSVCE)1
34 Mary said to the angel, “How can this be, since I am a virgin?”[a]
Footnotes:
a. Luke 1:34 Gk I do not know a man
This question does not make any sense at all if Mary and Joseph after marrying, would have had marital relations.
2. Under John’s Protection.
Point 5. in the article The Blessed Virgin Mary is committed to the care of the Apostle John by Jesus from the Cross (John 19:26-27).
Jesus certainly wouldn't have done this if He had brothers (all of
whom would have been younger than He was).
3. The Power of the Most High overshadowing Mary.
Luke 1:35
(NRSVCE)
35 The angel said to her, “The Holy Spirit will come upon you, and the
power of the Most High will overshadow you; therefore the child to be
born[a] will be holy; he will be called Son of God.
Footnotes: a. Luke 1:35 Other ancient authorities add of you
From Ezk 16:8 (RSVCE) and Ruth 3:9 (RSVCE) and from this explanation [t]t is possible that spreading of the garment over a woman was a more primitive form of marriage in Adoption | Jewish Encyclopedia, it is clear why among Catholics Mary is referred to as the Spouse of the Holy Spirit. With this understanding, it is impossible for even the thought to have entered the just man Joseph to approach Mary [as a man goes to his wife] after the Holy Spirit coming upon her. I remember this making a deep impression on me the day a priest explained it to me.
Joseph of the New, now reveals Joseph, son of Jacob, his type in the Old:
“Lo, having me my master has no concern about anything in the house, and he has put everything that he has in my hand; he is not greater in this house than I am; nor has he kept back anything from me except yourself, because you are his wife; how then can I do this great wickedness, and sin against God?” cf. [Gn 9:7-11 (RSVCE)].
V. To Saint Joseph, Spouse of the Blessed Virgin Mary.
R. God made you like the Father of the King and Lord over his household: pray for us.
The readers are invited to go through the other arguments in the article.
Closing:
Marital sex, as wonderful as it is, is a type of the heavenly union that is to come. With Jesus, Mary and Joseph had heaven. It is also easy to understand that celibacy goes back to the Apostles.
Regarding Mary, one of the reasons that her children thank the LORD and are proud of her is that at least one of us [humans] never fell under the power of the devil.
You are the glory of Jerusalem ... you are the splendid boast of our people ... God is pleased with what you have wrought. May you be blessed by the LORD Almighty forever and ever. [cf. Jdt 15:9-10].
cf. Protestant arguments for perpetual virginity of Mary and apologetics - perpetual virginity of Mary.
1. [Luke 1:34 (RSVCE) “How can this be, since I have no husband?” puzzles even more given the two stages in Jewish marriage and considering that the betrothed were considered husband and wife and could have marital relations.]↩