the upper hand (on someone)

the upper hand (on someone) Fig. a position superior to someone; the advantage of someone. (Typically: get ~; have ~; give someone ~.)
- E.g. John is always trying to get the upper hand on someone.
- E.g. He never ends up having the upper hand, though.