on one's beam ends

Etymology
By analogy with a capsizing ship; see usage note at beam-ends.

Prepositional phrase

 * 1)  In a parlous or destitute state.