One of Luke’s concerns is showing that Jesus is not just the Messiah of the Jewish people, but the Savior of the world. That’s one of the reasons he gives us not just Luke but Acts, with Paul taking the gospel to the Gentiles and finally ending up in Rome. And we see that emphasis here where Luke (through the inspiration of the Holy Spirit) makes sure to include the words of Simeon:
Luke 2:30-32 “For my eyes have seen your salvation that you have prepared in the presence of all peoples: a light, for revelation to the Gentiles, and for glory to your people Israel.”
Simon, under the inspiration of the Spirit, also foreshadows the rejection and crucifixion of Jesus:
Luke 2:34-35 “Then Simeon blessed them and said to his mother Mary, ‘Listen carefully: This child is destined to be the cause of the falling and rising of many in Israel and to be a sign that will be rejected. Indeed, as a result of him the thoughts of many hearts will be revealed—and a sword will pierce your own soul as well!‘”
Anna was a widow who had devoted herself to the worship and service of God in the temple. She is moved by the Spirit to testify about Jesus, but her emphasis is on the Jewishness of the Messiah. Both the encounters with Anna and Simeon come about because Joseph and Mary obeyed everything in the law concerning the upbringing and consecration of children.
Luke records the only childhood incident that we have from Jesus’ ministry. We shouldn’t assume that Jesus did anything wrong here. He was in the temple talking with the religious leadership (and amazing them!) when the caravan left. Presumably Joseph and Mary are to blame because they did not confirm that Jesus was with them. They are upset when they find Him, but He alludes to the fact that He is not a mere child. He is the son of God, in His true Father’s house, and they should have known and understood where He was and what He was doing! They don’t get it, but Mary remembers these things, presumably passing them on to Luke later.
For worship: https://www.youtube.com/watch?v=8-YhQt__sfo