Up, sanctify the people, and say, Sanctify yourselves against tomorrow: for thus says Yahweh, the God of Israel, There is a devoted thing in the midst of you, Israel; you can not stand before your enemies, until you take away the devoted thing from among you.
Israel resorted to the casting of lots when no eyewitness could testify against a criminal (cf. 1 Samuel 14:41-42; Jonah 1:7; Proverbs 18:18). Probably the high priest used the Urim and Thummim to identify Achan (cf. Numbers 27:21).