This question already has an answer here:
In the Old Testament there is a scripture about an eye for an eye law:
[Exodus 21:23~25] And if [any] mischief follow, then thou shalt give life for life, eye for eye, tooth for tooth, hand for hand, foot for foot, burning for burning, wound for wound, stripe for stripe.
However, things changed in the New Testament:
[Mat 5:38~42]Ye have heard that it hath been said, An eye for an eye, and a tooth for a tooth: But I say unto you, That ye resist not evil: but whosoever shall smite thee on thy right cheek, turn to him the other also.And if any man will sue thee at the law, and take away thy coat, let him have [thy] cloke also.And whosoever shall compel thee to go a mile, go with him twain.Give to him that asketh thee, and from him that would borrow of thee turn not thou away.
So it seems the 'an eye for an eye' law was agreed in the Old Testament, but disagreed in the New Testament, a contradiction!
It confused me. What was the genuine opinion of the Lord God in the end? Or did his mind get changed?