Philip was in a bad position and the enemies were at the gates. He managed to play them for his benefit and afterwards made the kingdom of Macedon become the strongest in that region.