Idiom
give something awaygive (someone/something) away
to tell or show something that is private or secret.She didn't want us to know she was upset, but the look on her face gave her away.I haven't seen the movie yet, so don't give away the ending.
Usage notes: said about something you do whether or not you intend to do it