Arthur Schopenhauer said this quote

If we suspect that a man is lying, we should pretend to believe him; for then he becomes bold and assured, lies more vigorously, and is unmasked.