Joshua 7:11-17 AMP

11 Israel has sinned; they have transgressed My covenant which I commanded them. They have taken some of the things devoted [for destruction]; they have stolen, and lied, and put them among their own baggage.

12 That is why the Israelites could not stand before their enemies, but fled before them; they are accursed and have become devoted [for destruction]. I will cease to be with you unless you destroy the accursed [devoted] things among you.

13 Up, sanctify (set apart for a holy purpose) the people, and say, Sanctify yourselves for tomorrow; for thus says the Lord, the God of Israel: There are accursed things in the midst of you, O Israel. You can not stand before your enemies until you take away from among you the things devoted [to destruction].

14 In the morning therefore, you shall present your tribes. And the tribe which the Lord takes shall come by families; and the family which the Lord takes shall come by households; and the household which the Lord takes shall come by persons.

15 And he who is taken with the devoted things shall be [killed and his body] burned with fire, he and all he has, because he has transgressed the covenant of the Lord and because he has done a shameful and wicked thing in Israel. [Josh. 7:25.]

16 So Joshua rose up early in the morning and brought Israel near by their tribes, and the tribe of Judah was taken.

17 He brought near the family of Judah, and the family of the Zerahites was taken; and he brought near the family of the Zerahites man by man, and Zabdi was taken.