In the apocryphal Gospel of James [also sometimes called the “Infancy” Gospel”], Mary’s mother Anna is barren and her father Ioachim retreats to the wilderness. When Anna is blessed with a child, she pledges her to the temple. So, Mary grows up in with the priests in the temple until she is on the cusp of adolescence.
Gospel of James, 8.2-9
7.2 “When [Mary] was twelve years old, the priests held a council where they were saying: “Look, Mary is twelve years old in the Temple of the Lord. What shall we do about her, since we don’t want her to defile the Temple of the Lord when women’s matters come to her.” And they said to the chief-priest: “you, you preside over the sacred place of the god—go there and pray about her and let us do whatever the Lord God reveals to you.
So the priest entered, once he took the twelve-belled cloak, the clothing of a priest, into the Most Holy of Holy Places and he prayed about her. And, look, an angel of the lord appeared, saying to him: “Zacharias, Zacharias, go out and hold an assembly of the people’s widowers and have every man carry a staff. To whomever the lord shows a sign, she will be his husband.” So, the heralds went throughout the land of Judea and the Lord’s trumpet sounded, and every one ran there.
Joseph dropped his sickle and hurried to the assembly too. And when they were all gathered, they approached the priest. The priest took all of their staves, went into the temple and prayed. Once he finished the prayer, he came out and gave each man his staff back. There was no sign upon any of them. But when Joseph received his staff last, look!, a dove came out if it and alighted upon Joseph’s head.
Then the priest said, “It is your fate to take the Lord’s virgin. Take her and keep her as your own.” Joseph responded, “I have two sons and I am an old man; she is a young girl. Should I become a joke among the sons of Israel?” Then the priest said to him, “Joseph, fear the Lord God and the things he did to Datham and Koreh and Abêrôm—how the earth opened in two and they were all drowned inside because of their refusals.You should fear too, now, Joseph, that these things will happen in your house too.” So, because he was afraid, Joseph took her into his own care. And he said to her, “Mary, look, I took you from the Temple of the Lord, My God, and now I will leave you in my home. I am leaving to build some of my buildings. And I will come back to you in turn. May the Lord keep you safe.”
[to be continued…]
2 γενομένης δὲ αὐτῆς δωδεκαετοῦς συμβούλιον ἐγένετο τῶν ἱερέων λεγόντων: ἰδοὺ Μαριὰμ γέγονε δωδεκαέτης ἐν τῷ ναῷ κυρίου: τί οὖν ποιήσωμεν αὐτήν, μήπως (ἐπέλθῃ αὐτῇ τὰ γυναικῶν καὶ) μιάνῃ τὸ ἁγίασμα κυρίου. καὶ εἶπον τῷ ἀρχιερεῖ: σὺ ἕστηκας ἐπὶ τὸ θυσιαστήριον θεοῦ: εἴσελθε καὶ πρόσευξαι περὶ αὐτῆς, καὶ ὅ ἄν φανερώσῃ σοι κύριος ὁ θεός, τοῦτο ποιήσωμεν. 3 καὶ εἰσῆλθεν ὁ ἱερεὺς λαβὼν τὸν δωδεκακόδωνα (ἱεροπρεπὲς ἱμάτιον) εἰς τὰ ἅγια τῶν ἁγίων καὶ ηὔξατο περὶ αὐτῆς. καὶ ἰδοὺ ἄγγελος κυρίου ἐπέστη αὐτῷ λέγων: Ζαχαρία, Ζαχαρία, ἔξελθε καὶ ἐκκλησίασον τοὺς χηρεύοντας τοῦ λαοῦ, καὶ ἐνεγκάτωσαν ἀνὰ ῥάβδον, καὶ εἰς ὅν ἐὰν δείξῃ κύριος ὁ θεὸς σημεῖον, τούτου ἔσται γυνή. καὶ ἐξῆλθον οἱ κήρυκες καθ’ ὅλης τῆς περιχώρου τῆς Ἰουδαίας, καὶ ἤχησεν ἡ σάλπιγξ κυρίου, καὶ ἔδραμον πάντες.
9.1 Ἰωσὴφ δὲ ῥίψας τὸ σκέπαρνον ἔδραμε καὶ αὐτὸς εἰς τὴν συναγωγήν, καὶ συναχθέντες ὁμοῦ ἀπῆλθαν πρὸς τὸν ἱερέα. ἔλαβε δὲ πάντων τὰς ῥάβδους ὁ ἱερεὺς καὶ εἰσῆλθεν εἰς τὸ ἱερὸν καὶ ηὔξατο. τελέσας δὲ τὴν εὐχὴν ἐξῆλθε καὶ ἐπέδωκεν ἑνὶ ἑκάστῳ τὴν ἑαυτοῦ ῥάβδον, καὶ σημεῖον οὐκ ἦν ἐν αὐτοῖς. τὴν δὲ ἐσχάτην ῥάβδον ἔλαβεν ὁ Ἰωσήφ, καὶ ἰδοὺ περιστερὰ ἐξῆλθεν ἐκ τῆς ῥάβδου καὶ ἐπετάσθη ἐπὶ τὴν κεφαλὴν Ἰωσήφ. καὶ εἶπεν αὐτῷ ὁ ἱερεύς: σὺ κεκλήρωσαι τὴν παρθένον κυρίου παραλαβεῖν. παράλαβε αὐτὴν εἰς τήρησιν σεαυτῷ. 2 ἀντεῖπε δὲ Ἰωσὴφ λέγων: υἱοὺς ἔχω καὶ πρεσβύτης εἰμί, αὕτη δὲ νεωτέρα. μήπως κατάγελως γένωμαι τοῖς υἱοῖς Ἰσραήλ; εἶπεν δὲ αὐτῷ ὁ ἱερεύς: Ἰωσήφ, φοβήθητι κύριον τὸν θεὸν καὶ ὅσα ἐποίησε Δαθὰμ καὶ Κορὲ καὶ Ἀβηρών, πῶς ἐδιχάσθη ἡ γῆ καὶ κατεποντίσθησαν ἅπαντες διὰ τὴν ἀντιλογίαν αὐτῶν. καὶ νῦν φοβήθητι, Ἰωσήφ, μήπως ἔσται ταῦτα ἐν τῷ οἴκῳ σου. 3 καὶ φοβηθεὶς Ἰωσὴφ παρέλαβεν αὐτὴν εἰς τήρησιν. καὶ εἶπεν αὐτῇ: Μαρία, ἰδοὺ παρέλαβόν σε ἐκ ναοῦ κυρίου τοῦ θεοῦ μου καὶ νῦν καταλιμπάνω σε ἐν τῷ οἴκῳ μου, ἀπέρχομαι γὰρ οἰκοδομῆσαι τὰς οἰκοδομάς μου, καὶ ἐν τάχει ἥξω πρὸς σέ. κύριος ὁ θεὸς διαφυλάξει σε.