All in the same boat

Altered image of a boat full of people
The idiom all in the same boat means everyone is in the same situation, or sharing the same circumstances. Good or bad, it affects everyone equally. The orgin of this idiom is the literal image of a group of people all in the same boat.

We all failed the test, so we’re in the same boat.