וַיַּעֲבֹ֣ר יְ֠הוֹשֻׁעַ וְכָל־יִשְׂרָאֵ֥ל עִמּ֛וֹ מִלִּבְנָ֖ה לָכִ֑ישָׁה וַיִּ֣חַן עָלֶ֔יהָ וַיִּלָּ֖חֶם בָּֽהּ׃
And Joshua passed from Libnah, and all Israel with him, unto Lachish, and encamped against it, and fought against it.
Read midrashic interpretation of Joshua 10:31: and classical rabbinic exegesis.