meet your match
US /miːt jʊər mætʃ/
UK /miːt jʊər mætʃ/

1.
to encounter someone who is equal or superior to you in skill, strength, or ability, often leading to a challenge or defeat
:
•
The undefeated boxer finally met his match in the championship fight.
•
She thought she was the best debater, but she definitely met her match in the new student.