expression, godan verb (-su)
disgrace oneself; make a fool of oneself
Used when someone's actions or situation cause them to lose face or appear shameful in front of others.
彼は会議で大きなミスをして、恥をさらした。
He made a big mistake at the meeting and disgraced himself.
そんなことを
If you say something like that, you'll just make a fool of yourself.