Well, that’s not really what Jesus did.
Jesus was not (from the point of view of civil law) murdered. He was sentenced to death, unjustly of course but still sentenced by the Roman govt (and yes, we know the govt was corrupt and was being manipulated too).
If Jesus would have fought back, He would have be technically sinning by resisting arrest / and the legal authority.
What Jesus actually did (in His human nature) was accept martyrdom vs committing a venial sin.
Now, theologically, we know he was doing much more than that.
We are allowed to defend ourselves against criminals trying to kill us. But we are not allowed to sin while doing it. Resisting arrest or fighting back against authorities while under arrest would be sinful.
Think of it this way. Would we normally consider it ok for a wrongly convicted prisoner to escape? We might wish him to escape, but we would not want him to break the law.
BTW - I am NOT talking about counties where is is not illegal to escape from prison.
I hope is this somewhat helpful.
NOTE: If you are considering a way for someone to kill you - PLEASE DO NOT and call the National suicide prevention lifeline right away at 1-800-273-8255
May God bless you and bring you peace.