Saint Joachim, the son of Barpathir, was of the tribe of Judah, and was a descendant of King David, to whom God had revealed that the Savior of the world would be born from his seed. Saint Anna was the daughter of Matthan the priest, who was of the tribe of Levi. Saint Anna’s family came from Bethlehem.
The couple lived at Nazareth in Galilee. They were childless into their old age and all their life they grieved over this. They had to endure derision and scorn, since at that time childlessness was considered a disgrace. They never grumbled, but fervently prayed to God, humbly trusting in Him.
Once, during a great feast, the gifts which Joachim took to Jerusalem as an offering to God were not accepted by the priest Reuben, who considered that a childless man was not worthy to offer sacrifice to God. This pained the old man very much, and he, regarding himself the most sinful of people, decided not to return home, but to settle in solitude in a desolate place.
When Saint Anna learned what humiliation her husband had endured, she sorrowfully entreated God with prayer and fasting to grant her a child. In his desolate solitude the righteous Joachim also asked God for this.
The prayer of the saintly couple was heard. An angel told them that a daughter would be born to them, who would be blessed above all other women. He also told them that She would remain a virgin, would be dedicated to the Lord and live in the Temple, and would give birth to the Savior.
Obeying the instructions of the heavenly messenger, Saints Joachim and Anna met at the Golden Gate in Jerusalem. Then, as God promised, a daughter was born to them and they named her Mary.
Saint Joachim died a few years later at the age of 80, after his daughter went to live in the Temple. Saint Anna died at the age of 70, two years after her husband.
Saints Joachim and Anna are often invoked by couples trying to have children.
~Website of the Orthodox Church in America (OCA), https://www.oca.org/saints/lives/2019/09/09/102546-holy-and-righteous-ancestors-of-god-joachim-and-anna
***