it was part of the land that god had originally commanded israel to conquer , but they , having failed to do so , left it open to the conquests of the philistines who came to this area at about the same time as joshua and the children of israel .