(Devarim 20:11) "And it shall be, if it answers you for peace": I might think, even (if) some (do so); it is, therefore, written "and it opens itself to you" — all of it and not part of it.
When a City Answers for Peace in the Laws of Warfare
Sifrei Devarim 200:1