the enemy of my enemy is my friend
A phrase highlighting how a common enemy can be a unifying force for otherwise disparate groups or people. I didn't want to work with that organization until I realized that we all wanted to keep the same candidate out of office. That's when I realized that the enemy of my enemy is my friend.