呉越同舟

Etymology
From chapter 11 of The Art of War, by Sun Tzu. .

Noun

 * 1) that bitter enemies chance on each other and have to work together