Parshas Toldos · Passuk 27:40
Yet by your sword you shall live, and you shall serve your brother; but when you grow restive, you shall break his yoke from your neck.”
Bereishis Rabbah 67:7 (classical midrash on this passuk; not a numbered Torah Temimah unit). Cf. Rashi ad loc.
Lemma / focus: והיה כאשר תריד ופרקת עלו.
Sefaria — Bereishis Rabbah 67:7
English: “And it shall be when you grow restive, you shall break his yoke” — when Israel transgresses the Torah and you have an opening to grieve over the blessings he took, then you shall break his yoke from your neck.
Derash on the verse (midrashic condition for breaking the yoke)
Esav’s freedom from serving Yaakov is conditioned on Israel’s transgression of the Torah; then he may break the yoke.