Joshua does to the city of Ai as he did to the city of Jericho - he killed everyone in the city. Then he hung its king on a tree until evening.
Then he enslaved the Gibeonites.
The text and notes for this episode can be found here.
If you enjoy these podcasts, consider supporting us at Patreon.com/BFW.