They captured it the same day. Joshua had everyone in it killed that very day. He set it apart and completely destroyed it, just as he had done in Lachish.