That scripture is taken out of context.
John 18:4
Jesus, knowing all that was going to happen to him, went out and asked them, “Who is it you want?”
John 18:5
“Jesus of Nazareth,” they replied. “I am he,” Jesus said. (And Judas the traitor was standing there with them.)
John 18:6
When Jesus said, “I am he,” they drew back and fell to the ground.