Genesis 34:7. Dinah is dishonoured. Jacob's sons seek vengeance.
This is a difficult story. Sin against us is never put right by our own sin. Genesis 34 shows what happens when we trust in ourselves. Better we should trust in God. HE will ensure justice.
I found this commentary, by David Vanacker of Grace Church Wyoming, very helpful in properly understanding this chapter. It is a complicated narrative, with more than surface level lessons to be learnt.
https://gracewyoming.com/the-defiling-of-dinah/
Perhaps the best overall take-out for me, is that 'the narrative passages of the Bible are not meant to teach morality. They are only meant to show the result of the moral choices people make.'