Joshua 8:2

8:2 Do to Ai and its king what you did to Jericho and its king, except you may plunder its goods and cattle. Set an ambush behind the city!”

Joshua 7:19

7:19 So Joshua said to Achan, “My son, honor the Lord God of Israel and give him praise! Tell me what you did; don’t hide anything from me!”