Arthur Schopenhauer said this quote

If I maintain my silence about my secret it is my prisoner...if I let it slip from my tongue, I am ITS prisoner.