Leo Tolstoy said this quote

it's much better to do good in a way that no one knows anything about it.