Yesterday’s Mother Goose and Grimm with an outrageous pun:
From Wikipedia:
The proverb the enemy of my enemy is my friend suggests that two parties can or should work together against a common enemy. Although it is often described as an Arabic proverb, there is no evidence of such an origin. The earliest known expression of this concept is found in a Sanskrit treatise on statecraft dating to around the 4th century BC, while the first recorded use of the current English version came in 1884.
