Parshas Devarim · Passuk 2:5
Do not provoke them, for I will not give you of their land so much as a foot’s breadth, because I have given Mount Seir to Esau as a possession.
Torah Temimah points to Yerushalmi Rosh Hashanah 1:1 (verified).
Sefaria — Yerushalmi Rosh Hashanah 1:1
English: “Do not provoke them.” R’ Yudan son of R’ Shalom said: It is written (I Kings 11) “For six months Yoav and all Israel remained there until he had cut off every male in Edom.” The Holy One, blessed be He, said to him: I told you “Do not provoke them,” and you sought to provoke them; by your life, they will not be counted for you.
Category D — Conceptual / historical-legal inference. Method — The Yerushalmi connects the command אַל תִּתְגָּרוּ בָם, not to provoke Edom, with Yoav’s later six-month campaign to destroy the males of Edom. It treats that campaign as a violation of the command and explains that the six months are consequently not counted in David’s reign. The derivation interprets a historical record as a divine consequence of violating the verse. Textual trigger — The command אַל תִּתְגָּרוּ בָם and the six-month campaign in Melachim I 11. Formal status — No numbered traditional Middah is being claimed.
Divine instructions regarding the nations retain force across generations. Violating the ban on provoking Edom carries consequences even in the historical record of the monarchy.