Deuteronomy 20:10-11

10“When you draw near to a city to fight against it, aoffer terms of peace to it. 11And if it responds to you peaceably and it opens to you, then all the people who are found in it shall do forced labor for you and shall serve you.
Copyright information for ESV