וְאִם־לֹ֤א תַשְׁלִים֙ עִמָּ֔ךְ וְעָשְׂתָ֥ה עִמְּךָ֖ מִלְחָמָ֑ה וְצַרְתָּ֖ עָלֶֽיהָּ׃
Ngunit kung hindi ito makikipagpayapaan sa iyo, at sa halip ay makikipagdigma ito laban sa iyo, kubkubin mo ito.
Devarim Rabbah
Another matter, “When [the Lord your God] will expand [your border]” – that is what the verse said: “I rejoice and am happy in Your kindness, for You have seen my affliction. You have known my soul’s distress, and You did not deliver me into the hand of the enemy; You set my feet in open space” (Psalms 31:8–9). The Rabbis say: This verse is speaking of Joseph. Joseph said: ‘Master of the universe, “I rejoice and am happy in Your kindness” that You performed with me. Had You exacted revenge on my behalf from Potifera’s wife, and had not given me the kingship, I would have rejoiced and been happy. Now that I have the kingship, “I rejoice and am happy in Your kindness….”’ “For You have seen my affliction” – this is Joseph, in whose regard it is written: “[He had sent a man before them, Joseph, who had been sold as a slave.] They tortured his legs with chains; his body was placed in irons” (Psalms 105:17–18). “You did not deliver me into the hand of the enemy” – this is Potifera. “You set my feet in open space” –You made me ruler over the entire land of Egypt. From where is this derived? As it is stated: “Joseph was the ruler over the land; he was the provider of grain to all the people of the land. Joseph's brothers came, and prostrated themselves to him, faces to the ground. Joseph saw his brothers, and he recognized them, but he acted as a stranger to them, and spoke harshly to them; he said to them: From where did you come? They said: From the land of Canaan, to acquire food” (Genesis 42:6–7).
Another matter, [the verse] “I rejoice and am happy in Your kindness” is speaking of Israel. Israel said: ‘Master of the universe, “I rejoice and am happy in Your kindness” that You performed with us. Had You exacted revenge against the Egyptians and not given us their wealth, we would have rejoiced. We have joy and happiness because You gave us their wealth.’ “For You have seen my affliction” – this is Israel, in whose regard it is written: “The Egyptians mistreated us, and afflicted us, and imposed upon us hard labor. We cried out to the Lord, God of our fathers, and the Lord heard our voice, and He saw our affliction…” (Deuteronomy 26:6–7). “You have known my soul’s distress” – this is Israel, in whose regard it is written: “They embittered their lives” (Exodus 1:14). “You did not deliver me into the hand of the enemy” – this is the wicked Pharaoh, as it is written: “The enemy said: I will pursue” (Exodus 15:9). “You set my feet in open space” – as you expanded my border, as it is stated: “When [the Lord your God] will expand [your border].”
Another matter, [the verse] “I rejoice and am happy in Your kindness” is speaking of Israel. Israel said: ‘Master of the universe, “I rejoice and am happy in Your kindness” that You performed with us. Had You exacted revenge against the Egyptians and not given us their wealth, we would have rejoiced. We have joy and happiness because You gave us their wealth.’ “For You have seen my affliction” – this is Israel, in whose regard it is written: “The Egyptians mistreated us, and afflicted us, and imposed upon us hard labor. We cried out to the Lord, God of our fathers, and the Lord heard our voice, and He saw our affliction…” (Deuteronomy 26:6–7). “You have known my soul’s distress” – this is Israel, in whose regard it is written: “They embittered their lives” (Exodus 1:14). “You did not deliver me into the hand of the enemy” – this is the wicked Pharaoh, as it is written: “The enemy said: I will pursue” (Exodus 15:9). “You set my feet in open space” – as you expanded my border, as it is stated: “When [the Lord your God] will expand [your border].”
Midrash Tanchuma
You shall offer it terms of peace (Deuteronomy 20:10): Rabbi Levi said, "Moshe did three things and the Holy One, blessed be He, agreed with him. And these are them: It is written (Exodus 34:7), 'visits the iniquity of the fathers upon children.' But Moshe said (Deuteronomy 24:10), 'Fathers will not be put to death for children [and children will not be put to death for fathers].' And from where [do we know] that the Holy One, blessed be He, agreed with him? As it is stated (II Kings 14:6), 'But he did not put to death the children of the assassins, in accordance with what is written in the Book of the Torah of Moshe, [...] "Parents shall not be put to death for children, etc."' And the second was when he broke the tablets. And [the third] was in the days of Sichon and Og. The Holy One, blessed be He, said, 'Go and fight with him, block his acqueduct.' But Moshe did not do so, as it is stated (Deuteronomy 2:26), 'And I sent messengers.' The Holy One, blessed be He, said, 'By your life, you have done as is fitting, as I agree with you.'" Therefore Moshe warns Israel and says to them (Deuteronomy 20:10), "When you approach a town to attack it, you shall offer it terms of peace." "You shall offer it terms of (for) peace (leshalom)." In peace (beshalom) is not written here, so that they would go forth with peace and return in peace. As Avner and Avshalom about whom it is written, "in peace," did not return. But Moshe to whom Yitro said, "for peace," went and returned. Another interpretation [of] "You shall offer it terms of peace": It is speaking about the days of the king messiah, who opens to them with peace, as it is stated (Zechariah 9:10), "He shall speak peace to the nations, and his rule shall extend from sea to sea." "If it responds peaceably" (Deuteronomy 20:11); if they bind themselves, as it is stated (Isaiah 2:4), "And they shall beat their swords into plowshares and their spears into pruning hooks; nation shall not take up sword against nation; they shall never again learn war." "All the people present there shall be as tribute and serve you"(Deuteronomy 20:11); that they should bring you tribute. As it is stated (Psalms 68:32), "Tribute-bearers (chasmanim) shall come from Egypt," as they shall hurry (chasim) and bring their gifts; "Cush shall hasten (tarits) its gifts to God," as they shall run (ratsim) and bring their gifts. "But if it shall not make peace with you" (Deuteronomy 20:12). [If] a strange spirit enters into them and they rebel against the king messiah, he kills them immediately; as it is stated (Isaiah 11:4), "he shall strike down a land with the rod of his mouth, and slay the wicked with the breath of his lips." And he shall only leave Israel, as it is stated (Deuteronomy 32:12), "The Lord guided him alone, and there is no alien god with him."