Get the better of someone

Meaning: To defeat someone or gain an advantage over them; also, to allow an emotion to control you.

Example: His curiosity got the better of him, so he opened the box.