וְלֹֽא־יִדְבַּ֧ק בְּיָדְךָ֛ מְא֖וּמָה מִן־הַחֵ֑רֶם לְמַעַן֩ יָשׁ֨וּב יְהוָ֜ה מֵחֲר֣וֹן אַפּ֗וֹ וְנָֽתַן־לְךָ֤ רַחֲמִים֙ וְרִֽחַמְךָ֣ וְהִרְבֶּ֔ךָ כַּאֲשֶׁ֥ר נִשְׁבַּ֖ע לַאֲבֹתֶֽיךָ׃
און קײן שום זאַך פֿון דעם כרם זאָל זיך ניט אָנקלעפּן אין דײַן האַנט, כּדי גאָט זאָל זיך אָפּקערן פֿון זײַן גרימצאָרן, און דיר שענקען דערבאַרימונג, און זיך דערבאַרימען אױף דיר, און דיך מערן, אַזױ װי ער האָט געשװאָרן צו דײַנע עלטערן;
Rashi
למען ישוב ה' מחרון אף THAT THE LORD MAY TURN FROM THE FIERCENESS OF HIS WRATH — for as long as idol-worship exists in the world the fierce wrath of God is kindled against the world (Sifrei Devarim 96:3; Sanhedrin 111b; cf. Rashi on Genesis 9:32).
Chizkuni
ולא ידבק בידך מאומה מן החרם, “none of the loot shall cleave to your hand lest it appear that you wanted to “take the spoil and seize the booty.” (Isaiah 10.6). (B’chor shor)
Da'at Zekenim
ונתן לך רחמים, “so that He will show you mercy;” you will be rewarded for not having displayed mercy towards the inhabitants of this city.”