Yes, all have sinned, including Jesus. (Matthew 23:13-33) God would not contradict His own Prophets. Jesus knew that he was endangering his life as he allowed his disciples to acclaim him king of the Jews in Jerusalem which was a Roman province. BTW, the Pharisees warned him to stop his disciples or he would be arrest. (Luke 19:37-40) They were right because Jesus' verdict was nailed on his cross and it read INRI. That he was dying on a political charge of insurrection. And for those words in John 6:53,54 were not said by Jesus but by the Hellenist former disciple of Paul. Jesus was a Jew and, a Jewish Passover could not be celebrated as Jesus is described to have done.
John 6
When Jesus therefore perceived that they would come and take him by force, to make him a king, he departed again into a mountain himself alone.
John 18
Pilate therefore said unto him, Art thou a king then? Jesus answered, Thou sayest that I am a king. To this end was I born, and for this cause came I into the world, that I should bear witness unto the truth. Every one that is of the truth heareth my voice.
Pilate saith unto him, What is truth? And when he had said this, he went out again unto the Jews, and saith unto them, I find in him no fault*at all.
This is also in John 18
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
The Jews knew they were disobeying God by killing him. And they thought that handing Jesus over they were clean. They were vipers full of wickedness and God won't be mocked. Thou shalt not kill, means just that! They were murderers, not true Jews, the true Jews obeyed God and loved Jesus. Even Pilate could find no fault in him at all! And Jesus said that those who have handed me over to you, have the greater sin!
Then Pilate was determined to let him go
John 19
And from thenceforth Pilate sought to release him: but the Jews cried out, saying, If thou let this man go, thou art not Caesar's friend: whosoever maketh himself a king speaketh against Caesar
But the leaders of the Jews made sure that they were going to have him crucified and used caesar to do it. They were wicked men doing a wicked deed, knowing it was against the commandments of God.
BTW the pharasees warned him to stop because they were envious of him, and because they thought that the whole world would follow him and they knew that many of the Jewish people loved him, so they wanted him out of the way!