We read in the Gospels of Jesus in the Garden. He knew that He was already betrayed by a friend. Guards would soon be coming to take Him to His cruel and ignoble death on a Roman cross. He had suffered through that night, alone and in prayer. He was ready to die on our behalf, to pay the penalty for our sins. This was the role for which He had come to earth. He was the only one who could fulfill His mission. Isaiah had prophesied that He would "open not His mouth," that He would go willingly to the fate that awaited Him.
His disciple, Peter, had a different plan. Peter was a hothead. He was big and strong, but a fisherman not a fighter. He knew there would be trouble, and he'd prepared himself. As the guards came to take his Master, he swung wildly with unskilled hands and wounded a servant of the High Priest.
Jesus' response was not a commendation. It was not a command for Peter and the other men to take up arms. His message was one of peace. "Put your sword away!" He had come to reconcile humankind to their Creator, to guide our feet into the way of peace.

Happy Easter!
https://www.blueletterbible.org/faq/knowgod.cfm