And when [the Virgin Mary] was twelve years old there was held a council of the priests, saying: Behold, Mary has reached the age of twelve years in the temple of the Lord. What then shall we do with her, lest perchance she defile the sanctuary of the Lord? … And behold an angel of the Lord stood by him, saying unto him: Zacharias, Zacharias, go out and assemble the widowers of the people, and let them bring each his rod; and to whomsoever the Lord shall show a sign, his wife shall she be. And the heralds went out through all the circuit of Judæa, and the trumpet of the Lord sounded, and all ran.
And Joseph, throwing away his axe, went out to meet them; and when they had assembled, they went away to the high priest, taking with them their rods. And he, taking the rods of all of them, entered into the temple, and prayed; and having ended his prayer, he took the rods and came out, and gave them to them: but there was no sign in them, and Joseph took his rod last; and, behold, a dove came out of the rod, and flew upon Joseph's head. And the priest said to Joseph, You have been chosen by lot to take into your keeping the virgin of the Lord. But Joseph refused, saying: I have children, and I am an old man, and she is a young girl. I am afraid lest I become a laughing-stock to the sons of Israel. And the priest said to Joseph: Fear the Lord your God … And Joseph was afraid, and took her into his keeping. And Joseph said to Mary: Behold, I have received you from the temple of the Lord; and now I leave you in my house, and go away to build my buildings, and I shall come to you. The Lord will protect you.