Jerusalem's rejection and persecution of God's messengers was a familiar prophetic theme. Jesus places the coming mission of his own messengers within that long history of resistance.
The maternal or avian image of sheltering under wings was deeply rooted in Israel's language for seeking refuge under God's protection.
The Old Testament repeatedly says that the LORD sends prophets to warn his people. It also uses the image of God's wings as a place of refuge and protection, especially in the Psalms.
Jesus' lament therefore draws upon imagery associated with God's covenant pursuit and protection of Jerusalem.
Jesus says, 'I send you prophets and wise men and scribes,' predicting their persecution. He then addresses Jerusalem with a lament over its history of killing prophets and stoning those sent to it.
His words 'how often would I have gathered your children together' can suggest a scope extending beyond the immediate moment, but that implication should be handled cautiously. The clearest point is that Jesus speaks in the role of sender and would-be gatherer of God's people.
This passage is significant because roles and imagery normally associated with God's dealings with Israel are voiced personally by Jesus.
It is best treated as strong cumulative evidence rather than as an explicit declaration of deity or an unambiguous proof of pre-existence. Matthew's larger narrative supplies the context in which the divine associations become increasingly meaningful.