The Idiomatic
“The enemy of my enemy can serve two masters.”