Deuteronomy 20:11 New International Reader's Version (NIRV)

Suppose they accept your offer and open their gates. Then force all of the people in the city to be your slaves. They will have to work for you.

Deuteronomy 20

Deuteronomy 20:6-12