Jesus said to them, “While I was still with you, I told you that everything written about me in the Law of Moses, the Books of the Prophets, and in the Psalms had to happen.”
The people of Jerusalem and their leaders didn't realize who Jesus was. And they didn't understand the words of the prophets that they read each Sabbath. So they condemned Jesus just as the prophets had said.