17 The city and all that is in it are to be devoteda to the LORD. Only Rahab the prostitute and all who are with her in her house shall be spared, because she hid the spies we sent.

Read Joshua 6:17 Using Other Translations

And the city shall be accursed, even it, and all that are therein, to the LORD: only Rahab the harlot shall live, she and all that are with her in the house, because she hid the messengers that we sent.
And the city and all that is within it shall be devoted to the LORD for destruction. Only Rahab the prostitute and all who are with her in her house shall live, because she hid the messengers whom we sent.
Jericho and everything in it must be completely destroyed as an offering to the LORD . Only Rahab the prostitute and the others in her house will be spared, for she protected our spies.