And thou shalt do to Ai and to its king as thou didst to Jericho and to its king; only, the spoil thereof and the cattle thereof shall ye take as prey for yourselves. Set an ambush against the city behind it.