Genesis 34:2
And when Shechem the son of Hamor the Hivite, prince of the country, saw her, he took her, and lay with her, and defiled her. And when Shechem the son of Hamor the Hivite, prince of the country, saw her, he took her, and lay with her, and defiled her.
Dinah's going out to associate with the ungodly placed her in danger and invited temptation. Shechem's lawless taking of Jacob's daughter when he saw her and lay with her defiled her and brought her shame and sorrow. That violation set in motion the violence that followed and preceded Simeon and Levi's deceptive and cruel destruction of the Shechemites. Their fierce anger and revenge were condemned. Jacob foretold that Simeon and Levi would be divided among his descendants and scattered in Israel.