back is to/against the wall
idiomDefinition of back is to/against the wall
: in a bad position in which one is forced to do something in order to avoid failure
We knew that with so little time and money left to finish the project we had our backs to the wall.