Joshua 8:23

23 But they captured the king of Ai alive and brought him to Joshua.