turn the tables reverse your position relative to someone else, especially by turning a position of disadvantage into one of advantage.
☞ Until the mid 18th century, tables was the usual name for the board game backgammon. Early instances of the use of this phrase, dating from the mid 17th century, make it clear that it comes from the practice of turning the board so that a player had to play what had previously been their opponent's position.