If two or more people are in the same boat, they are in the same unpleasant or difficult situation.

I’m finding academic writing really difficult, but it helps to know we’re all in the same boat.