Joshua captured all the cities from Kadesh Barnea to Gaza. And he captured all the cities from Goshen to Gibeon.