Ecclesiastes 2:26

YLT(i) 26 For to a man who is good before Him, He hath given wisdom, and knowledge, and joy; and to a sinner He hath given travail, to gather and to heap up, to give to the good before God. Even this is vanity and vexation of spirit.