Ethics of the Fathers Chapter 2.
1. Rabbi [Judah HaNassi]* would say:...
Contemplate three things, and you will not come to the hands of transgression: Know what is above from you: a seeing eye, a listening ear, and all your deeds being inscribed in a book.
If a woman had realized that her neighbor had a surveillance camera, she wouldn't have taken his shovel and wouldn't have had to face the consequences of his revenge.
Vayikra Chapter 19.
18. You shall neither take revenge from nor bear a grudge against the members of your people; you shall love your neighbor as yourself. I am the Lord.
If a man would have read Leviticus 19:18, perhaps he might not have taken revenge.