turn the tables

中高级 (B2) neutral

Change a situation so the opposite is now true.

"The underdog team turned the tables in the second half and won the match."