Wiktionary
if you can't beat them, join them
prov. If your adversaries are stronger than you, it is better to join the adversaries.