means Close to defeat or collapse. Example The small company was on the ropes before the new contract arrived.