When the Israelite army finished chasing and killing all the men of Ai in the open fields, they went back and finished off everyone inside.