turn the tables
Short definition from Wiktionary
Verb
- To reverse a situation, so that the advantage has shifted to the party which was previously disadvantaged.
We haven’t written up turn the tables yet: Simple and Standard meanings, examples and a quiz.