31 After this, Joshua and his army went on from Libnah to Lachish, surrounded it and attacked it.