idiom

On the ropes.

Theme: adversity Keyword: competition

means

Close to defeat or collapse.

Example

The small company was on the ropes before the new contract arrived.