
The following verses of John 18:1-12 correspond to the records in Matthew 26:36-56, Mark 14:32-52, and Luke 22:40-53, regarding the arrest of Jesus.
John 18:1:
18:1Having said these-things Jesus went-out together with his learning-disciples (on the) other-side of the brook of Kidron where there was a garden into which he went and his learning-disciples.
After Jesus said the things recorded in John chapter 17, he went out in conjunction with his learning-disciples (students) from where they were to the other side of (across, beyond) the brook of Kidron. They had already walked and talked for a length of time since the record in John 14:31.
This brook of Kidron would flow with water when there was a storm of rain and during the rainy winter months, but during the dry seasons it was a ravine. Also, there are various readings in the Greek texts for the word translated "Kidron", and some translations include: Cedron, Kedron, and Cedars.
Across the brook of Kidron there was a garden (where trees and other plants grow) into which emphatically he went (in Greek there is a definite word for “he” plus the verb meaning “he went-into” giving emphasis – into which he himself went/came) and his students.
This garden was known as Gethsemane.
[Reference: Matthew 26:36; Mark 14:32; Luke 22:40.]
Verses 2-11:
.2But also Judas, the (man) giving him over, had known the place because Jesus was often gathered-together there with his learning-disciples. .3Therefore Judas, having received both the corps out-from the chief-priests and assistants out-from the Pharisees, goes there with lanterns and torches and arms. .4Therefore Jesus having known2 all the-things coming on him, went-out and says to them, "Whom do you seek-after?" .5They answered him, "Jesus the Nazarene." He says to them, "I am." But Judas, the (man) giving him over, had also stood with them - .6therefore as he said to them, "I am" - they went-away into the-things behind and fell to the ground. .7Therefore again he asked them, "Whom do you seek-after?" And the (people) said, "Jesus the Nazarene." .8Jesus answered, "I said to you that I am; therefore since you seek-after me, you must leave these-people to go" - .9in order that the word which he said may be fulfilled that "whom You gave2 to me I did not destroy not-one from them."
.10Therefore Simon Peter having a sword drew it and hit the slave of the chief-priest and cut-away his ear, the right (ear); and (the) name of the slave was Malchus. .11Therefore Jesus said to Peter, "You must throw the sword into the sheath; the cup which the Father gave2 to me - may I never drink it?"
Judas, the man who is giving Jesus over (handing him over, delivering him alongside or beside another, handing him along to those who want to kill Jesus), also already knew and continued to know (perceive) at that time the place where Jesus and the other learning-disciples went (refer to verse 1 above) because he was assembled in that location many times with his learning-disciples (his students, and Judas was one of them). Following-on logically, after Judas received (took what was given to him to use for this situation of arresting Jesus)...
...he comes there with lanterns (shining lights) and torches (lamps which need to be fed olive oil to burn for light) and arms (weapons, tools, implements of war/battle).
Therefore Jesus having known and continuing to know (perceive, see to the end of perceiving and knowing with his mind) all the things coming on him (all of what was going for/against him, everything relating to their intention and the point to be reached by them during this situation), went out from where he was to make sure that they could see him, and he says to them...
They answered him, "Jesus the Nazarene." Jesus was brought up in
Jesus says to them...
However, Judas, the man giving Jesus over (as verse 2 above), had also stood and continued to stand at that time in company and association with the corps and the assistants - therefore while Jesus said to them, "Emphatically I am" - they went away into the-things behind (they moved backwards) and fell onto the ground. They took position awaiting Judas' confirmation that indeed this man was the Jesus whom they sought to arrest (refer to Matthew 26:48-50 and Luke 22:47 and 48).
Following-on logically from their reaction to what Jesus said, he again asked them (a second, another, further time, once again he inquired directly from them for information on this topic)...
The people from the corps and assistants said, "Jesus the Nazarene."
Jesus answered...
...the ending result of this was that the word which Jesus said (the spoken-account of his inner-thoughts) would be fulfilled (filled-up, made full, accomplished) that...
John the writer of this book is referring to the prophecy spoken by Jesus about himself, as recorded in John 6:39, and mentioned again by Jesus during his prayer in John 17:12.
Therefore Simon Peter, who had a sword (a knife used for slaughter or cutting, slicing, and usually worn with a longer sword), drew it (dragged or moved it) and hit (struck) the bond-servant of the chief/high priest (one of the Levitical temple guards) and cut away his ear (a little part of it was cut), emphatically and specifically his right ear. During that past time the name of the slave was Malchus - evidently he had come forward to arrest Jesus.
Therefore Jesus said to Peter...
No answer is given by Peter to this rhetorical question! Also, Luke 22:51 records that Jesus healed the man's ear.
[Reference: Matthew 2:23, 26:39-54; Luke 22:49 and 50; John 1:42, 6:39, 64 and 71, 7:32, 45 and 46, 10:11, 17 and 18, 11:47 and 57, 12:4, 13:1, 2, 11 and 21, 17:12; Acts 2:22. Note: verbs with a superscript 2 (2) immediately following them indicate the "perfect" tense - details are provided in the "Relevant Notes" link of this study.]
or

