The Holy Family remained in a poor house in Bethlehem until the time prescribed by the Law when the mother of a male child had to present herself, forty days after the birth, for legal purification. Also, according to Exodus 13:2 and Numbers 18:15, the first-born son was to be offered to God at this time. Even though Mary and her Child were exempt, they complied with the law. Forty days after the birth of Jesus, Mary accompanied by her holy spouse St. Joseph, journeyed to the Temple in Jerusalem to present Jesus to the Lord. Instead of a lamb, Mary and Joseph offered a pair of turtle-doves or two young pigeons-the sacrifice of the poor.
In the temple Simeon who was also in Jerusalem awaiting the coming of the Savior, recognized, through the power of the Holy Spirit, this devout couple and their Child. He approached them, took the Child in his arms and proclaimed, “Now you may dismiss your servant, O Lord, according to Your Word in peace; because my eyes have seen Thy salvation, which You have prepared before the face of all the peoples: a light to the revelation of the Gentiles, and the glory or Your people Israel.” (Luke 2: 25-32)
Then Anna approached who lived in the temple for many years. She was a widow and came forward blessing the Lord Jesus and Mary and Joseph.