Both passages describe instances of sexual violence against women, highlighting the recurring theme of sin and its consequences within families in the biblical narrative.
Genesis 34:25 describes the violent actions of Simeon and Levi, which are later condemned by Jacob in Genesis 49:5-7, showing the long-term consequences of their actions.