they had divided the city between them and stayed out of each other 's territory , knowing that if open conflict broke out between the two of them , the fight would be long , bloody , and costly , and the victor would be so weakened , he would n't survive for long .