on the ropes in a desperate position; in a state of near collapse or defeat.
☞ This is an idiom from boxing, alluding to the situation of a losing boxer who is forced back by his opponent against the ropes that mark the sides of the boxing ring. First recorded, in its literal sense, in the early 19th century, the phrase has been in figurative use since at least the 1920s.