Deuteronomy 20:11

NLT
New Living Translation

11If they accept your terms and open the gates to you, then all the people inside will serve you in forced labor.