This is almost word for word in Mark, chapter 14:55-56. However, this is not in Luke, chapter 22, and John, chapter 18. Matthew and Mark said that the chief priests (Οἱ δὲ ἀρχιερεῖς) and the whole council (καὶ τὸ συνέδριον ὅλον) sought false testimony against Jesus (ἐζήτουν ψευδομαρτυρίαν κατὰ τοῦ Ἰησοῦ). They did this so that they might put him to death (ὅπως αὐτὸν θανατώσωσιν). However, they could not find any witnesses (καὶ οὐχ εὗρον), even though many false witnesses came forward (πολλῶν προσελθόντων ψευδομαρτύρων). According to Jewish law in Deuteronomy, chapters 17:6 and 19:15, it took 2 witnesses to convict anyone. This sounds more like a trial than an informal meeting. Not only were they seeking pseudo or false witnesses, the whole council meeting may have been illegal, since they were not allowed to meet during the festivals, including Passover. The whole council would have included the elders or presbyters and the Scribes of Jerusalem, along with priests and high priests. The dreaded Pharisees and Sadducees were not part of this council or meeting.
Clearly this is a future time, when both the Israelites and Judeans would return to Zion together, not separately. They would come weeping as they sought Yahweh, their God. They would want to know the way to Jerusalem while facing towards Zion. At the same time, they would join themselves to Yahweh with an everlasting covenant that would never be forgotten. There was always a lot of talk of an unforgettable covenant, and then a little forgetfulness would happen.
In somewhat beautiful poetic terms, Yahweh, via Jeremiah’s letter, says that if they called on him, he would hear them. If they prayed to him, he would listen to them. If they searched for him, they would find him. If they sought him with their whole hearts, he would let himself be found. Yahweh was ready and willing to help them. They just had to reach out to him with calls, prayers, and sincere searching.
Isaiah attempts to put this episode into a specific historical event, perhaps 711 BCE. The Assyrian King Sargon II (722-705 BCE) sent his commander in chief on a successful attack to take the city of Ashdod, a Philistine city along the Mediterranean seacoast that had sought the protection of Egypt. This city had revolted against the Assyrian rulers at the instigation of the Egyptians.
If it is not Yahweh, it is his angel who surrounded David. To those who feared Yahweh, he delivered him. David then asked us to taste and see how Yahweh was good, which has become the title of a popular hymn. Those who took their refuge in Yahweh were to be happy and holy. They would no longer fear like young lions that worried about want and hunger. Those who sought Yahweh would not lack for anything. They were the truly blessed and happy ones.