The following phrase is something that approaches closely the translation that is sought. It implies the possible understanding of an equality  but superiority is taken into account as well ([ref.](https://idioms.thefreedictionary.com/met+his+match)).

- He had met his match.  (She had met her match.,…)