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.
Strong's King James
And it shall be, if it make thee answer{H6030}{(H8799)} of peace{H7965}, and open{H6605}{(H8804)} unto thee, then it shall be, that all the people{H5971} that is found{H4672}{(H8737)} therein shall be tributaries{H4522} unto thee, and they shall serve{H5647}{(H8804)} thee.
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.