He went out and fought the Philistines and razed the walls of Gath, Jabneh, and Ashdod, and built cities in the district of Ashdod and in Philistia.