September 8 is the feast day of the Nativity of the Theotokos. I realized I never shared the story of the event before, so I will present it here. This is from the Protoevangelium of James, a second century text. I have referenced this text before for other aspects, but never the first part. Here is the Roberts-Donaldson translation of the text:

IN THE RECORDS OF THE TWELVE TRIBES OF ISRAEL was Joachim, a man rich exceedingly; and he brought his offerings double, saying: There shall be of my superabundance to all the people, and there shall be the offering for my forgiveness to the Lord for a propitiation for me. For the great day of the Lord was at hand, and the sons of Israel were bringing their offerings. And there stood over against him Rubim, saying: It is not meet for thee first to bring thine offerings, because thou hast not made seed in Israel. And Joachim was exceedingly grieved, and went away to the registers of the twelve tribes of the people, saying: I shall see the registers of the twelve tribes of Israel, as to whether I alone have not made seed in Israel. And he searched, and found that all the righteous had raised up seed in Israel. And he called to mind the patriach Abraham, that in the last day God gave him a son Isaac. And Joachim was exceedingly grieved, and did not come into the presence of his wife; but he retired to the desert, and there pitched his tent, and fasted forty days and forty nights, saying in himself: I will not go down either for food or for drink until the Lord my God shall look upon me, and prayer shall be my food and drink.
And his wife Anna mourned in two mournings, and lamented in two lamentations, saying: I shall bewail my widowhood; I shall bewail my childlessness. And the great day of the Lord was at hand; and Judith her maid-servant said: How long dost thou humiliate thy soul? Behold, the great day of the Lord is at hand, and it is unlawful for thee to mourn. But take this head-band, which the woman that made it gave to me; for it is not proper that I should wear it, because I am a maid-servant, and it has a royal appearance. And Anna said: Depart from me; for I have not done such things, and the Lord has brought me very low. I fear that some wicked person has given it to thee, and thou hast come to make me a sharer in thy sin. And Judith said: Why should I curse thee, seeing that the Lord hath shut thy womb, so as not to give thee fruit in Israel? And Anna was grieved exceedingly, and put off her garments of mourning, and cleaned her head, and put on her wedding garments, and about the ninth hour went down to the garden to walk. And she saw a laurel, and sat under it, and prayed to the Lord, saying: O God of our fathers, bless me and hear my prayer, as Thou didst bless the womb of Sarah, and didst give her a son Isaac.
And gazing towards the heaven, she saw a sparrow’s nest in the laurel, and made a lamentation in herself, saying: Alas! who begot me? and what womb produced me? because I have become a curse in the presence of the sons of Israel, and I have been reproached, and they have driven me in derision out of the temple of the Lord. Alas! to what have I been likened? I am not like the fowls of the heaven, because even the fowls of the heaven are productive before Thee, O Lord. Alas! to what have I been likened? I am not like the beasts of the earth, because even the beasts of the earth are productive before Thee, O Lord. Alas! to what have I been likened? I am not like these waters, because even these waters are productive before Thee, O Lord. Alas! to what have I been likened? I am not like this earth, because even the earth bringeth forth its fruits in season, and blesseth Thee, O Lord.
And, behold, an angel of the Lord stood by, saying: Anna, Anna, the Lord hath heard thy prayer, and thou shalt conceive, and shall bring forth; and thy seed shall be spoken of in all the world. And Anna said: As the Lord my God liveth, if I beget either male or female, I will bring it as a gift to the Lord my God; and it shall minister to Him in holy things all the days of its life. And, behold, two angels came, saying to her: Behold, Joachim thy husband is coming with his flocks. For an angel of the Lord went down to him, saying: Joachim, Joachim, the Lord God hath heard thy prayer Go down hence; for, behold, thy wife Anna shall conceive. And Joachim went down and called his shepherds, saying: Bring me hither ten she-lambs without spot or blemish, and they shall be for the Lord my God; and bring me twelve tender calves, and they shall be for the priests and the elders; and a hundred goats for all the people. And, behold, Joachim came with his flocks; and Anna stood by the gate, and saw Joachim coming, and she ran anti hung upon his neck, saying: Now I know that the Lord God hath blessed me exceedingly; for, behold the widow no longer a widow, and I the childless shall conceive. And Joachim rested the first day in his house.
And on the following day he brought his offerings, saying in himself: If the Lord God has been rendered gracious to me, the plate on the priest’s forehead will make it manifest to me. And Joachim brought his offerings, and observed attentively the priest’s plate when he went up to the altar of the Lord, and he saw no sin in himself. And Joachim said: Now I know that the Lord has been gracious unto me, and has remitted all my sins. And he went down from the temple of the Lord justified, and departed to his own house. And her months were fulfilled, and in the ninth month Anna brought forth. And she said to the midwife: What have I brought forth? and she said: A girl. And said Anna: My soul has been magnified this day. And she laid her down. And the days having been fulfilled, Anna was purified, and gave the breast to the child, and called her name Mary.

Now I do want to mention the Nativity is also mentioned in a text titled Gospel of Pseudo-Matthew, which takes aspects from this text and others to make a more complete infancy gospel that leads up to Jesus as a young teenager. This text first appeared around the 9th century and has been added to since.
Here is the excerpt from the GoP-M, translated by Alexander Roberts, Sir James Donaldson, Arthur Cleveland Coxe:
In those days there was a man in Jerusalem, Joachim by name, of the tribe of Judah. He was the shepherd of his own sheep, fearing the Lord in integrity and singleness of heart. He had no other care than that of his herds, from the produce of which he supplied with food all that feared God, offering double gifts in the fear of God to all who labored in doctrine, and who ministered unto Him. Therefore his lambs, and his sheep, and his wool, and all things whatsoever he possessed, he used to divide into three portions: one he gave to the orphans, the widows, the strangers, and the poor; the second to those that worshipped God; and the third he kept for himself and all his house. And as he did so, the Lord multiplied to him his herds, so that there was no man like him in the people of Israel. This now he began to do when he was fifteen years old. And at the age of twenty he took to wife Anna, the daughter of Achar, of his own tribe, that is, of the tribe of Judah, of the family of David. And though they had lived together for twenty years, he had by her neither sons nor daughters.
And it happened that, in the time of the feast, among those who were offering incense to the Lord, Joachim stood getting ready his gifts in the sight of the Lord. And the priest, Ruben by name, coming to him, said: It is not lawful for thee to stand among those who are doing sacrifice to God, because God has not blessed thee so as to give thee seed in Israel. Being therefore put to shame in the sight of the people, he retired from the temple of the Lord weeping, and did not return to his house, but went to his flocks, taking with him his shepherds into the mountains to a far country, so that for five months his wife Anna could hear no tidings of him. And she prayed with tears, saying: O Lord, most mighty God of Israel, why hast Thou, seeing that already Thou hast not given me children, taken from me my husband also? Behold, now five months that I have not seen my husband; and I know not where he is tarrying; nor, if I knew him to be dead, could I bury him. And while she wept excessively, she entered into the court of His house; and she fell on her face in prayer, and poured out her supplications before the Lord. After this, rising from her prayer, and lifting her eyes to God, she saw a sparrow’s nest in a laurel tree, and uttered her voice to the Lord with groaning, and said: Lord God Almighty, who hast given offspring to every creature, to beasts wild and tame, to serpents, and birds, and fishes, and they all rejoice over their young ones, Thou hast shut out me alone from the gift of Thy benignity. For Thou, O God, knowest my heart, that from the beginning of my married life I have vowed that, if Thou, O God, shouldst give me son or daughter, I would offer them to Thee in Thy holy temple. And while she was thus speaking, suddenly an angel of the Lord appeared before her, saying: Be not afraid, Anna, for there is seed for thee in the decree of God; and all generations even to the end shall wonder at that which shall be born of thee. And when he had thus spoken, he vanished out of her sight. But she, in fear and dread because she had seen such a sight, and heard such words, at length went into her bed-chamber, and threw herself on the bed as if dead. And for a whole day and night she remained in great trembling and in prayer. And after these things she called to her her servant, and said to her: Dost thou see me deceived in my widowhood and in great perplexity, and hast thou been unwilling to come in to me? Then she, with a slight murmur, thus answered and said: If God hath shut up thy womb, and hath taken away thy husband from thee, what can I do for thee? And when Anna heard this, she lifted up her voice, and wept aloud.
At the same time there appeared a young man on the mountains to Joachim while he was feeding his flocks, and said to him: Why dost thou not return to thy wife? And Joachim said: I have had her for twenty years, and it has not been the will of God to give me children by her. I have been driven with shame and reproach from the temple of the Lord: why should I go back to her, when I have been once cast off and utterly despised? Here then will I remain with my sheep; and so long as in this life God is willing to grant me light, I shall willingly, by the hands of my servants, bestow their portions upon the poor, and the orphans, and those that fear God. And when he had thus spoken, the young man said to him: I am an angel of the Lord, and I have to-day appeared to thy wife when she was weeping and praying, and have consoled her; and know that she has conceived a daughter from thy seed, and thou in thy ignorance of this hast left her. She will be in the temple of God, and the Holy Spirit shall abide in her; and her blessedness shall be greater than that of all the holy women, so that no one can say that any before her has been like her, or that any after her in this world will be so. Therefore go down from the mountains, and return to thy wife, whom thou wilt find with child. For God hath raised up seed in her, and for this thou wilt give God thanks; and her seed shall be blessed, and she herself shall be blessed, and shall be made the mother of eternal blessing. Then Joachim adored the angel, and said to him: If I have found favor in thy sight, sit for a little in my tent, and bless thy servant. And the angel said to him: Do not say servant, but fellow-servant; for we are the servants of one Master. But my food is invisible, and my drink cannot be seen by a mortal. Therefore thou oughtest not to ask me to enter thy tent; but if thou was about to give me anything, offer it as a burnt-offering to the Lord. Then Joachim took a lamb without spot, and said to the angel: I should not have dared to offer a burnt-offering to the Lord, unless thy command had given me the priest’s right of offering. And the angel said to him: I should not have invited thee to offer unless I had known the will of the Lord. And when Joachim was offering the sacrifice to God, the angel and the odor of the sacrifice went together straight up to heaven with the smoke.
Then Joachim, throwing himself on his face, lay in prayer from the sixth hour of the day even until evening. And his lads and hired servants who were with him saw him, and not knowing why he was lying down, thought that he was dead; and they came to him, and with difficulty raised him from the ground. And when he recounted to them the vision of the angel, they were struck with great fear and wonder, and advised him to accomplish the vision of the angel without delay, and to go back with all haste to his wife. And when Joachim was turning over in his mind whether he should go back or not, it happened that he was overpowered by a deep sleep; and, behold, the angel who had already appeared to him when awake, appeared to him in his sleep, saying: I am the angel appointed by God as thy guardian: go down with confidence, and return to Anna, because the deeds of mercy which thou and thy wife Anna have done have been told in the presence of the Most High; and to you will God give such fruit as no prophet or saint has ever had from the beginning, or ever will have. And when Joachim awoke out of his sleep, he called all his herdsmen to him, and told them his dream. And they worshipped the Lord, and said to him: See that thou no further despise the words of the angel. But rise and let us go hence, and return at a quiet pace, feeding our flocks.
And when, after thirty days occupied in going back, they were now near at hand, behold, the angel of the Lord appeared to Anna, who was standing and praying, and said: Go to the gate which is called Golden, and meet thy husband in the way, for to-day he will come to thee. She therefore went towards him in haste With her maidens, and, praying to the Lord, she stood a long time in the gate waiting for him. And when she was wearied with long waiting, she lifted up her eyes and saw Joachim afar off coming with his flocks; and she ran to him and hung on his neck, giving thanks to God, and saying: I was a widow, and behold now I am not so: I was barren, and behold I have now conceived. And so they worshipped the Lord, and went into their own house. And when this was heard of, there was great joy among all their neighbors and acquaintances, so that the whole land of Israel congratulated them.
After these things, her nine months being fulfilled, Anna brought forth a daughter, and called her Mary.
Featured artwork is a 16th century icon of the Nativity of the Theotokos; Joachim and Anne icon from 18th century.
Read the full Protoevangelium of James: https://www.earlychristianwritings.com/text/infancyjames-roberts.html
Read the full Gospel of Pseudo-Matthew: http://www.gnosis.org/library/psudomat.htm
-bP