50 Jesus replied, “Do what you came for, friend.”aThen the men stepped forward, seized Jesus and arrested him.

Read Matthew 26:50 Using Other Translations

And Jesus said unto him,Friend, wherefore art thou come? Then came they, and laid hands on Jesus, and took him.
Jesus said to him, "Friend, do what you came to do." Then they came up and laid hands on Jesus and seized him.
Jesus said, “My friend, go ahead and do what you have come for.” Then the others grabbed Jesus and arrested him.