Deuteronomy 7:2
JPS-1917וּנְתָנָ֞ם יְהֹוָ֧ה אֱלֹהֶ֛יךָ לְפָנֶ֖יךָ וְהִכִּיתָ֑ם הַחֲרֵ֤ם תַּחֲרִים֙ אֹתָ֔ם לֹא־תִכְרֹ֥ת לָהֶ֛ם בְּרִ֖ית וְלֹ֥א תְחׇנֵּֽם׃
and when the LORD thy God shall deliver them up before thee, and thou shalt smite them; then thou shalt utterly destroy them; thou shalt make no covenant with them, nor show mercy unto them;
Rashi Commentary
ולא תחנם means, THOU SHALT NOT ASCRIBE GRACE (חן) TO THEM: it is forbidden to a person to say “How beautiful is this heathen”. Another explanation: thou shalt not grant them a חניה, an encampment (a settlement) in the land (Avodah Zarah 20a).
Other Translations
וּנְתָנָ֞ם יְהֹוָ֧ה אֱלֹהֶ֛יךָ לְפָנֶ֖יךָ וְהִכִּיתָ֑ם הַחֲרֵ֤ם תַּחֲרִים֙ אֹתָ֔ם לֹא־תִכְרֹ֥ת לָהֶ֛ם בְּרִ֖ית וְלֹ֥א תְחׇנֵּֽם׃
and when the Lord thy God shall deliver them before thee, and thou shalt smite them, then thou shalt devote them to utter destruction; thou shalt make no covenant with them, nor show mercy to them: