Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
LXX

Joshua 6:18

But keep yourselves strictly from the accursed thing, lest ye set your mind upon and take of the accursed thing, and ye make the camp of the children of Israel an accursed thing, and destroy us.

Read in other translations