Question: what is the meaning of idiom turn the tables?
Answer: turn the tables on sb. to change a situation so that you now have an advantage over someone who previously had an advantage over you: She turned the tables on her rival with allegations of corruption.