give oneself away

[give oneself away] {v. phr.} To show guilt; show you have donewrong.

The thief gave himself away by spending so much money.

Carl played a joke on Bob and gave himself away by laughing.

Compare: GIVE AWAY.