31 Pilate said, “Take him yourselves and judge him by your own law.” “But we have no right to execute anyone,” they objected.

Read John 18:31 Using Other Translations

Then said Pilate unto them, Take ye him, and judge him according to your law. The Jews therefore said unto him, It is not lawful for us to put any man to death:
Pilate said to them, "Take him yourselves and judge him by your own law." The Jews said to him, "It is not lawful for us to put anyone to death."
“Then take him away and judge him by your own law,” Pilate told them. “Only the Romans are permitted to execute someone,” the Jewish leaders replied.