Jesus does not endorse revenge
You have heard that it was said, ‘An eye for an eye, and a tooth for a tooth.’ But I tell you, don’t resist him who is evil; but whoever strikes you on your right cheek, turn to him the other also. If anyone sues you to take away your coat, let him have your cloak also. Whoever compels you to go one mile, go with him two. Give to him who asks you, and don’t turn away him who desires to borrow from you.
from The Sermon on the Mount topic