Joshua 6:17

Now the city and everything in it must be devoted to the Lord for destruction. Only Rahab the prostitute and all those with her in her house will live, because she hid the spies we sent.

Note Forms of the Hebrew cherem refer to the giving over of things or persons to the Lord, either by destroying them or by giving them as an offering; also in verses 18 and 21.

BSB · Berean Standard Bible
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.

Note accursed: or, devoted

KJV · King James Version
The city shall be devoted, even it and all that is in it, to the Lord. Only Rahab the prostitute shall live, she and all who are with her in the house, because she hid the messengers that we sent.
WEB · World English Bible
And the city shall be devoted, even it and all that is therein, to Jehovah: only Rahab the harlot shall live, she and all that are with her in the house, because she hid the messengers that we sent.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

accursed
or, devoted.
Joshua 7:1; Leviticus 27:28, 29; Numbers 21:2, 3; 1 Corinthians 2:7; Ezra 10:8; Isaiah 34:6; Jeremiah 46:10; Ezekiel 39:17; Micah 4:13; 1 Corinthians 16:22; Galatians 3:10, 12
only Rahab
Joshua 2:1
because
Joshua 6:22, 23; Joshua 2:4–6, 22; Genesis 12:3; 1 Samuel 15:6; Matthew 10:41, 42; Matthew 25:40; Hebrews 6:10; Hebrews 11:31; James 2:25