Berean Standard Bible (BSB)
If they accept your offer of peace and open their gates, all the people there will become forced laborers to serve you.
World English Bible (WEB)
It shall be, if it makes you answer of peace, and opens to you, then it shall be, that all the people who are found therein shall become tributary to you, and shall serve you.
The F.O.G *
The F.O.G Message *
Young's Literal Translation
and it hath been, if Peace it answer thee, and hath opened to thee, then it hath come to pass—all the people who are found in it are to thee for tributaries, and have served thee.