What did Joshua say the Israelites should keep away from during the Jericho massacre?

The accursed thing

And ye, in any wise keep yourselves from the accursed thing, lest ye make yourselves accursed, when ye take of the accursed thing, and make the camp of Israel a curse, and trouble it. Joshua 6:18