אָ֗ח נִפְשָׁ֥ע מִקִּרְיַת־עֹ֑ז ומדונים [וּ֝מִדְיָנִ֗ים] כִּבְרִ֥יחַ אַרְמֽוֹן׃
אַ געקריװדעטן ברודער איז שװערער צו געװינען װי אַ באַפֿעסטיקטע שטאָט, און קריג זײַנען װי ריגלען פֿון אַ פּאַלאַץ.
Rashi
A rebellious brother...of a strong city There is a brother who rebels against his brother and loses a strong city, e.g. Lot against Abraham and Esau against Jacob.
Rashi
and the quarrels are like the bolt of a castle The quarrel between them separates them forever, like a bolt with which they lock the gates of a castle, so that no one should enter it.