idiom
turn the tables
eine Situation umkehren und die Oberhand gewinnen
Meaning
to reverse a situation and gain the upper hand
Example
They were losing, but managed to **turn the tables** in the final round.
Sie verloren, aber schafften es, die **Tabelle zu wenden** in der letzten Runde.