Then Joshua and the people of Israel left Makkedah and went to Libnah, where they fought against the city.