Ecclesiasticus
King James Version (KJV)

Now viewing scripture range from the book of Ecclesiasticus chapter 12:1 through chapter 12:3...
1 When thou wilt do good know to whom thou doest it; so shalt thou be thanked for thy benefits.
3 There can no good come to him that is always occupied in evil, nor to him that giveth no alms.