Joshua 8:8

8:8 When you capture the city, set it on fire. Do as the Lord says! See, I have given you orders.”

Joshua 8:27

8:27 But Israel did plunder the cattle and the goods of the city, in accordance with the Lord’s orders to Joshua.