He recognized a Christian duty to charity but was gripped by a fear that his charity would be wasted, thereby incriminating him in sin.
He felt fine enough giving to charity and not thinking of it further.