Some definitions on the net:
>
>
> *
> *
> *
>
So it refers to some very explicit/direct/honest expression which may sound harsh or uninteresting. Obviously it doesn't fit in the context you provided.
As pointed out in the comment, that person was probably confusing the phrase with , which means "to try to gain something but end up in losing everything".
In this sentence, is a colloquialism for .
> ****
> Thinking about people who are the type to get scolded and ending up in being scolded is a total loss for you.