Looking for a good corresponding native German proverb for "Adversity makes strange bedfellows"

I’m for a good corresponding native German proverb for "Adversity makes strange bedfellows. I have’t found anything online.
my translation:
Harte Zeiten bescheren seltsame Bettgenossen

Sorry. Meant to write:
I’m lookin for a good corresponding native German proverb for “Adversity makes strange bedfellows”. I have’t found anything online.

perhaps Unglück kennt keine Freunde.

ISTM that the sense of that in other English words is that difficult circumstances can lead to unlikely alliances. The sense I get from the German you’re offering is that bad luck leads to no friendships, so not the same thing. (My knowledge of German is far from complete.)

Google translation:

That was the best choice I could come up with. My searches didn['t turn up anything resembling my modified Google translation.
but ‘Unglück kennt keine Freunde’ is an actual maxim but doesn’t really correspond to “Adversity makes strange bedfellows”

I can’t think of a real close corresponding proverb, but maybe this carries some of the sentiment and is a common saying:

In der Not frisst der Teufel Fliegen.

meaning literally:

In times of trouble, the Devil eats flies.

Thanks EisteinHund. This does seem to be a good match.