Matthew 26:50

And Jesus said to him, "Friend, for what purpose have you come?" Then they approached, and they put their hands on Jesus, and they held him

Other versions

King James Version

And, behold, one of them which were with Jesus stretched out his hand, and drew his sword, and struck a servant of the high priest's, and smote off his ear.

English Standard Version

Jesus said to him, "Friend, do what you came to do." Then they came up and laid hands on Jesus and seized him.

New International Version

Jesus replied, "Friend, do what you came for."