Then Joshua and all the Israelites left Libnah and went to Lachish, which they surrounded and attacked.