To be between a rock and a hard place
Literally 'to be between the sword and the wall'. Describes being in a situation where all options are difficult or unpleasant.
They asked me to choose between the two friends. I was between a rock and a hard place.
The company is between a rock and a hard place: cut costs or close.
—What will you do? —I'm between a rock and a hard place, there's no good way out.