Meglio sola che male accompagnata.
Better to be alone than in bad company.
But then I found a similar quote from George Washington:
Associate with men of good quality if you esteem your own reputation; for it is better to be alone than in bad company.
So which came first: the Washington quote or the Italian one? Or did they create those independently? Or maybe George Washington was Italian ;) Either way, it's good advice.