Rom 12:17 Do not repay anyone evil for evil. Be careful to do what is right in the eyes of everyone. 18 If it is possible, as far as it depends on you, live at peace with everyone. 19 Do not take revenge, my dear friends, but leave room for God’s wrath, for it is written: “It is mine to avenge; I will repay,” says the Lord. 20 On the contrary:
“If your enemy is hungry, feed him;
if he is thirsty, give him something to drink.
In doing this, you will heap burning coals on his head.”[e]
21 Do not be overcome by evil, but overcome evil with good.
Even if you don't believe in the Bible, there are plenty of people in prison because they chose to retaliate rather than walk away or let the police handle the situation.