As Jesus was going up to Jerusalem, he took the twelve disciples aside privately and told them what was going to happen to him.
“Listen,” he said, “we’re going up to Jerusalem, where the Son of Man will be betrayed to the leading priests and the teachers of religious law. They will sentence him to die.
References for Matthew 20:18
Then they will hand him over to the Romans to be mocked, flogged with a whip, and crucified. But on the third day he will be raised from the dead.”
References for Matthew 20:19