Deuteronomy 7:2

Amplified Bible (AMP)
and when the Lord your God gives them over to you and you defeat them, then you shall utterly destroy them. You shall not make a covenant (treaty) with them nor show mercy and compassion to them.

Read Deuteronomy 7:2 in other translations