The time came for the purification rituals required by the Law of Moses. So Joseph and Mary took Jesus to Jerusalem, and there they presented him to the Lord.
Prompted by the Spirit, he went into the temple courtyard, and he was there when Jesus’ parents brought him in to do for him what the Law required.