bitter enemies in the same boat; strange bedfellows
A yojijukugo describing a situation where rivals or enemies are forced to be together or cooperate, often by circumstance. The phrase originates from the historical enmity between the ancient Chinese states of Wu and Yue.
See also: 呉越
Employees from rival companies are working together on the project like bitter enemies in the same boat.
In times of disaster, even people who are normally at odds may find themselves helping each other as strange bedfellows.
The current team is a case of bitter rivals thrown together as strange bedfellows.
The ruling and opposition parties, though rivals, joined forces to pass the bill.