Later the people of Israel had war with the Philistine people at the town of Gezer. At that time, Sibbecai from Hushah killed Sippai. Sippai was one of the sons of the giants. So those Philistine people became like slaves to the Israelites.
The Lord allowed them to defeat the city of Lachish. They defeated that city on the second day. The people of Israel killed every person in that city, just like they did in Libnah.
Then the border went west to the border of the Japhletite people. The border continued to Lower Beth Horon. Then the border went to Gezer and continued to the Mediterranean Sea.
{The same thing happened with the people from the family group of Ephraim.} There were Canaanite people living in Gezer. And the people of Ephraim did not make all of those Canaanite people leave their land. So the Canaanite people continued to live in Gezer with the people of Ephraim.