What does Deuteronomy 20:11 mean?
If they accept and open their gates, everyone in the city will become your workers and serve you. Deuteronomy 20:11 - Modern Text Bible
(If the city agrees to peace, its people become subject to Israel and serve them.)