Adversity makes strange bedfellows. meaning

HOME PROVERBS

adversity

Adversity makes strange bedfellows.

means that:
In difficult times, people who wouldn't normally associate with each other, may form an alliance; faced with a conflict or difficult situation, people unite, despite their differences.
also
Politics makes strange bedfellows.