The biblical reference you are thinking of may be from the words of Jesus regarding giving alms 'let not the right hand know what the left hand doeth' regarding anonymity of charity.
Textus Receptus Bibles - Matthew 6:3, KJV
There is also an English idiom 'give with one hand, take with the other' meaning that a supposed benefactor (perhaps a Government) is apparently, but not actually, benefiting oneself. It is such a common saying, and so logically accessible, that I think it would be difficult to quote an 'original source' for it in antiquity.
And the other possible biblical quote is from the book of Job 'the Lord giveth and the Lord taketh away : blessed be the name of the Lord' regarding bereavement and other afflictions, which may (to some people) be somewhat topical at the present time.